Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions coriolis/osmorphing/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ def _expand_archive(self, path, destination, overwrite=True):
else:
self._conn.exec_ps_command(
"rm -recurse -force %s" % destination)
else:
LOG.info("Skipping extraction as destination exists")
return

self._conn.exec_ps_command(
"if(([System.Management.Automation.PSTypeName]"
Expand Down Expand Up @@ -517,7 +514,7 @@ def _write_cloudbase_init_conf(self, cloudbaseinit_base_dir,
"logfile = cloudbase-init.log\r\n"
"default_log_levels = \r\n"
"comtypes=INFO,suds=INFO,iso8601=WARN,requests=WARN\r\n"
"allow_reboot = false\r\n"
"allow_reboot = true\r\n"
"plugins = %(plugins)s\r\n"
"debug = true\r\n"
"san_policy = OnlineAll\r\n"
Expand Down
2 changes: 1 addition & 1 deletion coriolis/tests/osmorphing/test_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def test__write_cloudbase_init_conf(
"logfile = cloudbase-init.log\r\n"
"default_log_levels = \r\n"
"comtypes=INFO,suds=INFO,iso8601=WARN,requests=WARN\r\n"
"allow_reboot = false\r\n"
"allow_reboot = true\r\n"
"plugins = %(plugins)s\r\n"
"debug = true\r\n"
"san_policy = OnlineAll\r\n"
Expand Down