Hi:
I'm testing deprovisioning/reprovisioning for various systems. My first test is with a small SUSE VM. When I try to run waagent's deprovision command, I get an error. Here's a screen capture that shows what I am doing.
[some user]:~> sudo /usr/sbin/waagent deprovision
[some user]'s password:
WARNING! The waagent service will be stopped.
WARNING! All SSH host key pairs will be deleted.
WARNING! Cached DHCP leases will be deleted.
WARNING! Nameserver configuration in /etc/resolv.conf will be deleted.
WARNING! root password will be disabled. You will not be able to login as root.
Do you want to proceed (y/n)? y
Traceback (most recent call last):
File "/usr/sbin/waagent", line 4194, in <module>
main()
File "/usr/sbin/waagent", line 4162, in main
sys.exit(Deprovision(force, False))
File "/usr/sbin/waagent", line 4077, in Deprovision
if force == False and not input('Do you want to proceed (y/n)? ').startswith
('y'):
File "<string>", line 1, in <module>
NameError: name 'y' is not defined
[some user]:~>
I get the same error if I enter 'Y' and a similar error if I just hit enter.
Any ideas?
Thanks!
- Keith