Respect keep_vhd.
Use SUDO_ASKPASS for all sudo operations.
Added uptime loop at the start of ssh communication to ensure host is ready.
Uninstall deb and rpm packaging.
Set Verbose=y in waagent.conf.
Encode ssh output as ascii,ignore to prevent latin-1 charachters from throwing error in Log().
Delete all blobs, keeping only the test-vm blob if keep_vhd = 'no'.
Added --logfile to specify logfile.
Reboot stable vm to prevent stale mount bugs.