$ release=xenial $ lxc launch ubuntu-daily:$release $name $ lxc exec $name -- dpkg-query --show cloud-init cloud-init 0.7.8-49-g9e904bb-0ubuntu1~16.04.4
$ lxc file pull $name/etc/cloud/build.info - build_name: server serial: 20170207 $ lxc exec $name -- head -n 1 /var/log/cloud-init.log Feb 9 02:26:04 x1 [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 running 'modules:config' at Thu, 09 Feb 2017 02:26:03 +0000. Up 9.0 seconds. ## enable proposed, update $ m=http://archive.ubuntu.com/ubuntu; $ echo "deb $m $release-proposed main" | lxc file push - $name/etc/apt/sources.list.d/proposed.list $ lxc exec $name -- sh -c 'apt-get update -q && apt-get install cloud-init' </dev/null $ lxc exec $name -- dpkg-query --show cloud-init cloud-init 0.7.9-0ubuntu1~16.04.2 # clean up to make it look like first boot. $ lxc exec $name -- sh -c 'cd /var/lib/cloud; for d in *; do [ "$d" = "seed" ] || rm -vRf "$d"; done' $ lxc exec $name -- sh -c 'rm -f /var/log/cloud*' $ lxc restart $name $ lxc exec $name -- grep WARN /var/log/cloud-init.log || echo no warn no warn $ lxc exec $name -- head -n 1 /var/log/cloud-init.log 2017-02-09 02:29:15,960 - util.py[DEBUG]: Cloud-init v. 0.7.9 running 'init-local' at Thu, 09 Feb 2017 02:29:15 +0000. Up 1.0 seconds. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1643990 Title: cloud-init-local.service messages not written to /var/log/cloud- init.log in systemd To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1643990/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs