← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1820360] Re: seed location requires trailing slash

 

** Changed in: cloud-init
       Status: Expired => Triaged

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1820360

Title:
  seed location requires trailing slash

Status in cloud-init:
  Triaged

Bug description:
  Hello, I'm trying to bootstrap the Raspberry Pi Arm64 image from http://cdimage.ubuntu.com/ubuntu/releases/bionic/release/ using cloud-init.
  In order to customize the seed I tried to specify the following kernel cmdline in cmdline.txt:
  $ cat cmdline.txt # corresponds to kernel cmdline
  net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait ds=nocloud;s=/boot/firmware/seed [this is the location in which raspberry mounts the boot partition]

  In /boot/firmware/seed (VFAT partition) these are the contents:

  $ cat /boot/firmware/seed/meta-data
  instance_id: cloud-image
  $ cat /boot/firmware/seed/user-data
  #cloud-config
  # vim: syntax=yaml
  #

  ssh_pwauth: True

  hostname: rpi3plus
  locale: "en_US.UTF-8"
  timezone: "Europe/Rome"

  users:
  - name: devster
    gecos: Daniele Riccucci
    ssh_authorized_keys:
    - ssh-ed25519 <mykey>
    lock_passwd: false
    passwd: <hashed pw>

  package_update: true
  package_upgrade: true
  package_reboot_if_required: true

  Cloud-init ran, however it couldn't find the specified location as it
  tried to access /boot/firmware/seedmeta-data and /boot/firmware
  /seeduser-data

  I unfortunately don't have the logs anymore.

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


References