enable azure to provision windows instances

This commit is contained in:
Benno Joy 2015-06-18 23:00:59 +05:30
parent fbbc74d5fe
commit 762f4f25f7

View file

@ -376,7 +376,7 @@ def create_virtual_machine(module, azure):
authorized_keys_path = u'/home/%s/.ssh/authorized_keys' % user
ssh_config.public_keys.public_keys.append(PublicKey(path=authorized_keys_path, fingerprint=fingerprint))
# Append ssh config to linux machine config
linux_config.ssh = ssh_config
vm_config.ssh = ssh_config
# Create network configuration
network_config = ConfigurationSetInputEndpoints()