Validated spinning up GCE instances xenial yakkety and zesty and performing the following operations:
---- xenial
$ sudo cat /etc/apt/sources.list.d/1.list
deb http://archive.ubuntu.com/ubuntu/ xenial-proposed main
$ sudo apt update
# sudo apt install cloud-init
$ sudo reboot
$ sudo cloud-init single --name cc_ssh --frequency always
Cloud-init v. 0.7.9 running 'single' at Fri, 16 Jun 2017 21:08:36 +0000. Up 142.47 seconds.
Generating public/private rsa key pair.
...
Validated spinning up GCE instances xenial yakkety and zesty and performing the following operations: sources. list.d/ 1.list archive. ubuntu. com/ubuntu/ xenial-proposed main
---- xenial
$ sudo cat /etc/apt/
deb http://
$ sudo apt update
# sudo apt install cloud-init
$ sudo reboot
$ sudo cloud-init single --name cc_ssh --frequency always
Cloud-init v. 0.7.9 running 'single' at Fri, 16 Jun 2017 21:08:36 +0000. Up 142.47 seconds.
Generating public/private rsa key pair.
...
$ sudo grep csmith /home/ubuntu/ .ssh/authorized _keys ....GoOB csmith@fringe
ssh-rsa AAAAB3NzaC1yc2E
$dpkg-query --show cloud-init 7.9-153- g16a7302f- 0ubuntu1~ 16.04.1cloud- init
0.
--- yakkety sources. list.d/ 1.list archive. ubuntu. com/ubuntu/ yaketty-proposed main
$ sudo cat /etc/apt/
deb http://
$ sudo apt update instance- 1:~$ sudo grep csmith /home/ubuntu/ .ssh/authorized _keys instance- 1:~$ dpkg-query --show cloud-init g16a7302f- 0ubuntu1~ 16.10.1
# sudo apt install cloud-init
$ sudo reboot
$ sudo cloud-init single --name cc_ssh --frequency always
...
blackboxsw@
ssh-rsa AAAAB3...NGoOB csmith@fringe
blackboxsw@
cloud-init 0.7.9-153-
---- zesty
$ sudo cat /etc/apt/ sources. list.d/ 1.list archive. ubuntu. com/ubuntu/ zesty-proposed main
deb http://
$ sudo apt update .ssh/authorized _keys g16a7302f- 0ubuntu1~ 17.04.1
# sudo apt install cloud-init
$ sudo reboot
$ sudo cloud-init single --name cc_ssh --frequency always
$ sudo grep csmith /home/ubuntu/
ssh-rsa AAAAB3Nz...xNGoOB csmith@fringe
$ dpkg-query --show cloud-init
cloud-init 0.7.9-153-