To verify this... I verified there were no obvious regressions by the following. (lxc-proposed-snapshot is https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/tree/bin/lxc-proposed-snapshot It publishes an image to lxd with proposed enabled and cloud-init upgraded.)
$ for r in xenial yakkety; do lxc-proposed-snapshot --proposed --publish $r sm0413-$r-proposed; done
$ lxc launch sm0413-xenial-proposed x1669504 $ lxc launch sm0413-xenial-proposed y1669504 $ sleep 30
$ for n in x1669504 y1669504; do echo === $n === lxc exec $n -- dpkg-query --show cloud-init lxc exec $n cat /run/cloud-init/result.json lxc exec $n -- grep WARN /var/log/cloud-init.log || echo no warn done === x1669504 === cloud-init 0.7.9-90-g61eb03fe-0ubuntu1~16.04.1 { "v1": { "datasource": "DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]", "errors": [] } } no warn === y1669504 === cloud-init 0.7.9-90-g61eb03fe-0ubuntu1~16.10.1 { "v1": { "datasource": "DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]", "errors": [] } } no warn
To verify this... I verified there were no obvious regressions by the snapshot is /git.launchpad. net/~smoser/ cloud-init/ +git/sru- info/tree/ bin/lxc- proposed- snapshot
following.
(lxc-proposed-
https:/
It publishes an image to lxd with proposed enabled and cloud-init upgraded.)
$ for r in xenial yakkety; do proposed- snapshot --proposed --publish $r sm0413-$r-proposed; done
lxc-
$ lxc launch sm0413- xenial- proposed x1669504 xenial- proposed y1669504
$ lxc launch sm0413-
$ sleep 30
$ for n in x1669504 y1669504; do init/result. json cloud-init. log || echo no warn g61eb03fe- 0ubuntu1~ 16.04.1 var/lib/ cloud/seed/ nocloud- net][dsmode= net]", g61eb03fe- 0ubuntu1~ 16.10.1 var/lib/ cloud/seed/ nocloud- net][dsmode= net]",
echo === $n ===
lxc exec $n -- dpkg-query --show cloud-init
lxc exec $n cat /run/cloud-
lxc exec $n -- grep WARN /var/log/
done
=== x1669504 ===
cloud-init 0.7.9-90-
{
"v1": {
"datasource": "DataSourceNoCloud [seed=/
"errors": []
}
}
no warn
=== y1669504 ===
cloud-init 0.7.9-90-
{
"v1": {
"datasource": "DataSourceNoCloud [seed=/
"errors": []
}
}
no warn