Comment 4 for bug 1233315

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote : Re: cloud-init needs backport of SmartOS w/ ephemeral disk support

Upgrade test for Azure:
1. Add PPA
2. Update
3. Run 'apt-get -y dist-upgrade'
4. Get a diff of the package waagent:
diff -u /etc/waagent.conf /etc/waagent.conf.dpkg-dist
--- /etc/waagent.conf 2013-10-14 11:26:20.128885001 +0000
+++ /etc/waagent.conf.dpkg-dist 2013-10-15 15:01:48.816663901 +0000
@@ -15,7 +15,7 @@
 Provisioning.SshHostKeyPairType=rsa # Supported values are "rsa", "dsa" and "ecdsa".
 Provisioning.MonitorHostName=n # Monitor host name changes and publish changes via DHCP requests.

-ResourceDisk.Format=y # Format if unformatted. If 'n', resource disk will not be mounted.
+ResourceDisk.Format=n # Format if unformatted. If 'n', resource disk will not be mounted.
 ResourceDisk.Filesystem=ext4
 ResourceDisk.MountPoint=/mnt
 ResourceDisk.EnableSwap=n # Create and use swapfile on resource disk.
5. The diff should show that ResourceDisk.Format=y is in /etc/waagent.conf
6. Put a file in /mnt
7. Reboot
8. The file should remain after boot (confirms that the disk is not formated

EC2 Test:
1. Add PPA
2. Update
3. Run 'apt-get -y dist-upgrade'
4. Place file in /mnt
5. Reboot
6. Confirm file in /mnt
7. Machine should reboot normally.