Public bug reported:

Testing a current daily (plucky) image of Ubuntu server for raspberry
pi, I noticed that cloud-init's ssh_import_id facility is now failing as
it's being attempting before the network has been brought up.
Reproduction case:

* On a supported model of Pi (Pi 3 onwards, roughly)
* Download 
http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/plucky-preinstalled-server-arm64+raspi.img.xz
* Flash image to SD card
* Mount boot partition and customize the cloud-init seed as follows:

[ network-config ]
network:
  ethernets:
    eth0: {dhcp4: true, optional: false}
  version: 2

[ user-data ]
#cloud-config

package_update: true
package_upgrade: true
# Replace the account accordingly...
ssh_import_id: [lp:waveform]

* Place SD card in Pi, attach ethernet and boot
* Note that SSH import fails with timeout as eth0 is not online, but (probably) 
package update and upgrade succeeds

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: rls-pp-incoming

** Tags added: rls-pp-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100620

Title:
  cloud-init not importing ssh keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2100620/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to