Verification done on xenial with: $ rel=xenial $ name=xenial-1 $ lxc launch ubuntu-daily:$rel $name $ lxc exec $name -- sh -c 'while ! [ -e /run/cloud-init/result.json ]; do echo .; sleep 1; done' </dev/null $ lxc exec $name -- sh -e <<"EOF" rel=$(lsb_release -sc) line=$(awk '$1 == "deb" && $2 ~ /ubuntu.com/ { printf("%s %s %s-proposed main universe\n", $1, $2, rel); exit(0) }; ' "rel=$rel" /etc/apt/sources.list) echo "$line" | sudo tee /etc/apt/sources.list.d/proposed.list apt-get update -qq apt-get install -qy curtin </dev/null EOF ... $ lxc exec $name -- dpkg-query --show curtin </dev/null curtin 0.1.0~bzr470-0ubuntu1~16.04.1
Verification done on xenial with: init/result. json ]; do echo .; sleep 1; done' </dev/null sources. list) sources. list.d/ proposed. list 0ubuntu1~ 16.04.1
$ rel=xenial
$ name=xenial-1
$ lxc launch ubuntu-daily:$rel $name
$ lxc exec $name -- sh -c 'while ! [ -e /run/cloud-
$ lxc exec $name -- sh -e <<"EOF"
rel=$(lsb_release -sc)
line=$(awk '$1 == "deb" && $2 ~ /ubuntu.com/ {
printf("%s %s %s-proposed main universe\n", $1, $2, rel); exit(0) };
' "rel=$rel" /etc/apt/
echo "$line" | sudo tee /etc/apt/
apt-get update -qq
apt-get install -qy curtin </dev/null
EOF
...
$ lxc exec $name -- dpkg-query --show curtin </dev/null
curtin 0.1.0~bzr470-