Hi, thanks for the good bug report.
I believe that you should be able to override the datasource provided config
in user-data. Try providing user-data as:
#cloud-config
ssh_pwauth: False
Please let me know if that works for you or not. I do realize that its
unfortunate to have to do that. Generally speaking the precedence ordre for
config in cloud-init is:
/etc/cloud/cloud.cfg
/etc/cloud/cloud.cfg.d/*
data-source provided config (there isnt a lot of these)
user-provided config (user-data)
** Changed in: cloud-init
Status: New => Confirmed
** Changed in: cloud-init (Ubuntu)
Status: New => Confirmed
** Changed in: cloud-init
Importance: Undecided => Medium
** Changed in: cloud-init (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1747705
Title:
"ssh_pwauth" always true on CloudStack datasource with password
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1747705/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs