### azure xenial SRU upgrade 17.1.27 -> 17.1.41 ubuntu@my-x1:~$ dpkg -l cloud-init ... ii cloud-init 17.1-27-geb2 all Init scripts for cloud instances ubuntu@my-x1:~$ grep Trace /var/log/cloud-init.log ubuntu@my-x1:~$ sudo sed -i 's/ xenial / xenial-proposed /' /etc/apt/sources.list ubuntu@my-x1:~$ sudo apt update ... ubuntu@my-x1:~$ sudo apt install cloud-init ... Setting up cloud-init (17.1-41-g76243487-0ubuntu1~16.04.1) ... ubuntu@my-x1:~$ sudo cloud-init init Cloud-init v. 17.1 running 'init' at Thu, 30 Nov 2017 03:27:19 +0000. Up 1865.40 seconds. ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++ ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+ ci-info: | eth0 | True | 10.0.0.4 | 255.255.255.0 | . | 00:0d:3a:03:b2:d4 | ci-info: | eth0 | True | fe80::20d:3aff:fe03:b2d4/64 | . | link | 00:0d:3a:03:b2:d4 | ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | . | ci-info: | lo | True | ::1/128 | . | host | . | ci-info: +--------+------+-----------------------------+---------------+-------+-------------------+ ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.0.0.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 10.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 2 | 168.63.129.16 | 10.0.0.1 | 255.255.255.255 | eth0 | UGH | ci-info: | 3 | 169.254.169.254 | 10.0.0.1 | 255.255.255.255 | eth0 | UGH | ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ubuntu@my-x1:~$ grep Trace /var/log/cloud-init.log ubuntu@my-x1:~$ grep CODENAME /etc/os-release VERSION_CODENAME=xenial UBUNTU_CODENAME=xenial # Setup clean system for fresh boot in azure ubuntu@my-x1:~$ sudo rm -rf /var/log/cloud-init* /var/lib/cloud/; sudo reboot Connection to 13.68.81.191 closed by remote host. Connection to 13.68.81.191 closed. root@publishing:~# ssh ubuntu@13.68.81.191 root@publishing:~# ssh-keygen -f "/root/.ssh/known_hosts" -R "13.68.81.191" # Host 13.68.81.191 found: line 8 /root/.ssh/known_hosts updated. Original contents retained as /root/.ssh/known_hosts.old root@publishing:~# ssh ubuntu@13.68.81.191 The authenticity of host '13.68.81.191 (13.68.81.191)' can't be established. ECDSA key fingerprint is SHA256:ORVLSaaYOei5NtF7T9zYEXdhKRMtsOvSUGsynDhpi1I. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '13.68.81.191' (ECDSA) to the list of known hosts. Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.11.0-1015-azure x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 42 packages can be updated. 0 updates are security updates. Last login: Thu Nov 30 03:25:10 2017 from 67.174.121.94 ubuntu@my-x1:~$ grep Trace /var/log/cloud-init.log ubuntu@my-x1:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceAzure [seed=/var/lib/waagent]", "errors": [] } } ubuntu@my-x1:~$ dpkg-query --show cloud-init cloud-init 17.1-41-g76243487-0ubuntu1~16.04.1 ### azure zesty SRU upgrade 17.1.27 -> 17.1.41 root@publishing:~# az vm create --name=my-z1 --image=Canonical:UbuntuServer:17.04-DAILY:latest --admin-username=root -g srugrp10 --admin-username=ubuntu --ssh-key-value @/root/.ssh/id_rsa.pub - Running .. { "fqdns": "", "id": "/subscriptions/12aad61c-6de4-4e53-a6c6-5aff52a83777/resourceGroups/srugrp10/providers/Microsoft.Compute/virtualMachines/my-z1", "location": "eastus2", "macAddress": "00-0D-3A-03-56-D7", "powerState": "VM running", "privateIpAddress": "10.0.0.5", "publicIpAddress": "52.179.139.218", "resourceGroup": "srugrp10", "zones": "" } root@publishing:~# ssh ubuntu@52.179.139.218 The authenticity of host '52.179.139.218 (52.179.139.218)' can't be established. ECDSA key fingerprint is SHA256:YesuFwA6nJL2L4Ubx7iqEqjUt6tcm7s0FmCpWKUH1b8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '52.179.139.218' (ECDSA) to the list of known hosts. Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-40-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 0 packages can be updated. 0 updates are security updates. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. ubuntu@my-z1:~$ dpkg-query --show cloud-init cloud-init 17.1-27-geb292c18-0ubuntu1~17.04.1 ubuntu@my-z1:~$ grep Trace /var/log/cloud-init* ubuntu@my-z1:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceAzure [seed=/dev/sr0]", "errors": [] } } ubuntu@my-z1:~$ sudo sed -i 's/ zesty / zesty-proposed /' /etc/apt/sources.list ubuntu@my-z1:~$ sudo apt update ... ubuntu@my-z1:~$ sudo apt install cloud-init ... Setting up cloud-init (17.1-41-g76243487-0ubuntu1~17.04.1) ... ubuntu@my-z1:~$ sudo cloud-init init Cloud-init v. 17.1 running 'init' at Thu, 30 Nov 2017 03:54:01 +0000. Up 1145.98 seconds. ci-info: +++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++ ci-info: +--------+------+-----------+---------------+-------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+-----------+---------------+-------+-------------------+ ci-info: | eth0: | True | 10.0.0.5 | 255.255.255.0 | . | 00:0d:3a:03:56:d7 | ci-info: | eth0: | True | . | . | d | 00:0d:3a:03:56:d7 | ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . | ci-info: | lo: | True | . | . | d | . | ci-info: +--------+------+-----------+---------------+-------+-------------------+ ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.0.0.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 10.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 2 | 168.63.129.16 | 10.0.0.1 | 255.255.255.255 | eth0 | UGH | ci-info: | 3 | 169.254.169.254 | 10.0.0.1 | 255.255.255.255 | eth0 | UGH | ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ubuntu@my-z1:~$ # rebooting into a clean environment so cloud-init runs fresh ubuntu@my-z1:~$ sudo rm -rf /var/log/cloud-init* /var/lib/cloud/; sudo reboot Connection to 52.179.139.218 closed by remote host. Connection to 52.179.139.218 closed. root@publishing:~# ssh-keygen -f "/root/.ssh/known_hosts" -R "52.179.139.218" root@publishing:~# ssh ubuntu@52.179.139.218 The authenticity of host '52.179.139.218 (52.179.139.218)' can't be established. ECDSA key fingerprint is SHA256:xKeACEwzUb+Uay3nsmGTjlJjX/tUIs+C1LtSijRBNiI. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '52.179.139.218' (ECDSA) to the list of known hosts. Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-40-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 35 packages can be updated. 13 updates are security updates. New release '17.10' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Nov 30 03:52:54 2017 from 67.174.121.94 ubuntu@my-z1:~$ grep Trace /var/log/cloud-init*ubuntu@my-z1:~$ dpkg-query --show cloud-initcloud-init 17.1-41-g76243487-0ubuntu1~17.04.1 ubuntu@my-z1:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceAzure [seed=/var/lib/waagent]", "errors": [] } } ubuntu@my-z1:~$ grep CODENAME /etc/os-release VERSION_CODENAME=zesty UBUNTU_CODENAME=zesty ubuntu@my-z1:~$ ### azure artful SRU upgrade 17.1.27 -> 17.1.41 root@publishing:~# az vm create --name=my-a1 --image=Canonical:UbuntuServer:17.10-DAILY:latest --admin-username=root -g srugrp10 --admin-username=ubuntu --ssh-key-value @/root/.ssh/id_rsa.pub { "fqdns": "", "id": "/subscriptions/12aad61c-6de4-4e53-a6c6-5aff52a83777/resourceGroups/srugrp10/providers/Microsoft.Compute/virtualMachines/my-a1", "location": "eastus2", "macAddress": "00-0D-3A-02-3F-39", "powerState": "VM running", "privateIpAddress": "10.0.0.4", "publicIpAddress": "40.70.2.59", "resourceGroup": "srugrp10", "zones": "" } root@publishing:~# ssh ubuntu@40.70.2.59 The authenticity of host '40.70.2.59 (40.70.2.59)' can't be established. ECDSA key fingerprint is SHA256:DiQguwdvrHn0KKAmqUX4XA/RDlEeXcBEXVLBY6jcVZA. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '40.70.2.59' (ECDSA) to the list of known hosts. Enter passphrase for key '/root/.ssh/id_rsa': Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 0 packages can be updated. 0 updates are security updates. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. ubuntu@my-a1:~$ dpkg-query --show cloud-init cloud-init 17.1-27-geb292c18-0ubuntu1~17.10.1 ubuntu@my-a1:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceAzure [seed=/dev/sr0]", "errors": [] } } ubuntu@my-a1:~$ sudo sed -i 's/ artful / artful-proposed /' /etc/apt/sources.list ubuntu@my-a1:~$ sudo apt update ... ubuntu@my-a1:~$ sudo apt install cloud-init ... Setting up cloud-init (17.1-41-g76243487-0ubuntu1~17.10.1) ... ubuntu@my-a1:~$ sudo cloud-init init Cloud-init v. 17.1 running 'init' at Thu, 30 Nov 2017 04:06:56 +0000. Up 393.64 seconds. ci-info: +++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++ ci-info: +--------+------+-----------+---------------+-------+-------------------+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | ci-info: +--------+------+-----------+---------------+-------+-------------------+ ci-info: | eth0: | True | 10.0.0.4 | 255.255.255.0 | . | 00:0d:3a:02:3f:39 | ci-info: | eth0: | True | . | . | d | 00:0d:3a:02:3f:39 | ci-info: | lo: | True | 127.0.0.1 | 255.0.0.0 | . | . | ci-info: | lo: | True | . | . | d | . | ci-info: +--------+------+-----------+---------------+-------+-------------------+ ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++ ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ci-info: | 0 | 0.0.0.0 | 10.0.0.1 | 0.0.0.0 | eth0 | UG | ci-info: | 1 | 0.0.0.0 | 10.0.0.1 | 0.0.0.0 | eth0 | UG | ci-info: | 2 | 10.0.0.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U | ci-info: | 3 | 10.0.0.1 | 0.0.0.0 | 255.255.255.255 | eth0 | UH | ci-info: | 4 | 168.63.129.16 | 10.0.0.1 | 255.255.255.255 | eth0 | UGH | ci-info: | 5 | 169.254.169.254 | 10.0.0.1 | 255.255.255.255 | eth0 | UGH | ci-info: +-------+-----------------+----------+-----------------+-----------+-------+ ubuntu@my-a1:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceAzure [seed=/dev/sr0]", "errors": [] } } ubuntu@my-a1:~$ # rebooting into a clean environment so cloud-init runs fresh ubuntu@my-a1:~$ sudo rm -rf /var/log/cloud-init* /var/lib/cloud/; sudo reboot Connection to 40.70.2.59 closed by remote host. Connection to 40.70.2.59 closed. root@publishing:~# ssh-keygen -f "/root/.ssh/known_hosts" -R "40.70.2.59" root@publishing:~# ssh ubuntu@40.70.2.59 The authenticity of host '40.70.2.59 (40.70.2.59)' can't be established. ECDSA key fingerprint is SHA256:72nObpAvfBQNzvnnaRcTaCDvQ/9nOyrJKXpVbvlhC0A. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '40.70.2.59' (ECDSA) to the list of known hosts. Enter passphrase for key '/root/.ssh/id_rsa': Welcome to Ubuntu 17.10 (GNU/Linux 4.13.0-17-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 34 packages can be updated. 3 updates are security updates. Last login: Thu Nov 30 04:04:46 2017 from 67.174.121.94 ubuntu@my-a1:~$ grep Trace /var/log/cloud-init*ubuntu@my-a1:~$ cat /run/cloud-init/result.json { "v1": { "datasource": "DataSourceAzure [seed=/var/lib/waagent]", "errors": [] } } ubuntu@my-a1:~$ dpkg-query --show cloud-initcloud-init 17.1-41-g76243487-0ubuntu1~17.10.1 ubuntu@my-a1:~$ grep CODENAME /etc/os-release VERSION_CODENAME=artful UBUNTU_CODENAME=artful