def __init__(self, vm_spec):
     super(BaseWindowsAzureVirtualMachine, self).__init__(vm_spec)
     # The names of Windows VMs on Azure are limited to 15 characters so let's
     # drop the pkb prefix if necessary.
     if len(self.name) > 15:
         self.name = re.sub('^pkb-', '', self.name)
     self.user_name = self.name
     self.password = vm_util.GenerateRandomWindowsPassword()
 def __init__(self, vm_spec):
     super(WindowsAzureVirtualMachine, self).__init__(vm_spec)
     self.user_name = self.name
     self.password = vm_util.GenerateRandomWindowsPassword()