$ lxc launch ubuntu-daily:yakkety y1
$ sleep 10
$ lxc exec y1 /bin/bash

% head -n 1 /var/log/cloud-init.log 
Jan 20 15:17:35 y1 [CLOUDINIT] util.py[DEBUG]: Cloud-init v. 0.7.8 running 
'modules:config' at Fri, 20 Jan 2017 15:17:34 +0000. Up 11.0 seconds.


% dpkg-query --show cloud-init
cloud-init  0.7.8-49-g9e904bb-0ubuntu1~16.10.1

% cat /etc/cloud/build.info 
build_name: server
serial: 20170114

% m=http://archive.ubuntu.com/ubuntu
% echo "deb $m $(lsb_release -sc)-proposed main" > 
/etc/apt/sources.list.d/proposed.list

% apt update -q
% apt install cloud-init
% dpkg-query --show cloud-init
cloud-init  0.7.8-68-gca3ae67-0ubuntu1~16.10.1

# keep seed dir for lxd datasource
% ( cd /var/lib/cloud && for d in *; do [ "$d" = "seed" ] && continue; rm -Rf 
"$d"; done )
% rm -Rf /var/log/cloud*

% reboot

$ lxc exec y1 /bin/bash
% head -n 1 /var/log/cloud-init.log 
2017-01-20 15:23:16,213 - util.py[DEBUG]: Cloud-init v. 0.7.8 running 
'init-local' at Fri, 20 Jan 2017 15:23:16 +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

Reply via email to