Comment 1 for bug 1747705

Revision history for this message
Scott Moser (smoser) wrote :

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)