Skip to content

Commit c63e8e7

Browse files
committed
Fix for Azure#108
Create VM, Administrator Password Base-64 Encoding Azure REST API docs were wrong. It said we should base64 encode and that's not the case.
1 parent 0cdf8cb commit c63e8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure/servicemanagement/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ def start_role_operation_to_xml():
868868
def windows_configuration_to_xml(configuration):
869869
xml = _XmlSerializer.data_to_xml([('ConfigurationSetType', configuration.configuration_set_type),
870870
('ComputerName', configuration.computer_name),
871-
('AdminPassword', configuration.admin_password, base64.b64encode),
871+
('AdminPassword', configuration.admin_password),
872872
('ResetPasswordOnFirstLogon', configuration.reset_password_on_first_logon, _lower),
873873
('EnableAutomaticUpdates', configuration.enable_automatic_updates, _lower),
874874
('TimeZone', configuration.time_zone)])

0 commit comments

Comments
 (0)