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.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1233315

Title:
  cloud-init needs backport of SmartOS w/ ephemeral disk support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1233315/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to