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.
Upgrade test for Azure: conf.dpkg- dist conf.dpkg- dist 2013-10-15 15:01:48.816663901 +0000 SshHostKeyPairT ype=rsa # Supported values are "rsa", "dsa" and "ecdsa". MonitorHostName =n # Monitor host name changes and publish changes via DHCP requests.
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.
--- /etc/waagent.conf 2013-10-14 11:26:20.128885001 +0000
+++ /etc/waagent.
@@ -15,7 +15,7 @@
Provisioning.
Provisioning.
-ResourceDisk. Format= y # Format if unformatted. If 'n', resource disk will not be mounted. Format= n # Format if unformatted. If 'n', resource disk will not be mounted. Filesystem= ext4 MountPoint= /mnt EnableSwap= n # Create and use swapfile on resource disk. Format= y is in /etc/waagent.conf
+ResourceDisk.
ResourceDisk.
ResourceDisk.
ResourceDisk.
5. The diff should show that ResourceDisk.
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.