$ cat >user-data <<EOF
  post: all
  tries: 3

$ n=x1
$ lxc delete --force $n
$ lxc launch ubuntu-daily:xenial x1 "--config=user.user-data=$(cat user-data)"
$ lxc exec x1 -- grep WARN /var/log/cloud-init.log </dev/null
Sep 13 20:52:09 ubuntu [CLOUDINIT][WARNING]: Requested key 
fdqn from 'post' configuration list not available

## Now update container, clean and reboot to show first boot
$ lxc exec $n -- sh -c '
    echo deb xenial-proposed main > "$p" &&
    apt-get update -q && apt-get -qy install cloud-init' </dev/null
$ lxc exec $n -- sh -c '
    cd /var/lib/cloud && for d in *; do [ "$d" = "seed" ] || rm -Rf "$d"; done
    rm -Rf /var/log/cloud-init*' </dev/null

$ lxc exec $n reboot
$ sleep 10
$ lxc exec $n -- grep WARN /var/log/cloud-init.log || echo no warn
no warn
$ lxc exec $n -- dpkg-query --show cloud-init
cloud-init  0.7.8-1-g3705bb5-0ubuntu1~16.04.1

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Wrong default key 'fdqn' in POST_LIST_ALL /

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to