lib/beaker/hypervisor/google_compute.rb in beaker-google-0.5.0 vs lib/beaker/hypervisor/google_compute.rb in beaker-google-1.0.0
- old
+ new
@@ -192,10 +192,10 @@
key: 'enable-windows-ssh',
value: 'TRUE',
}
mdata << {
key: 'sysprep-specialize-script-cmd',
- value: 'googet -noconfirm=true update && googet -noconfirm=true install google-compute-engine-ssh',
+ value: 'start /wait googet -noconfirm=true update && start /wait googet -noconfirm=true install google-compute-engine-ssh',
}
# Some versions of windows don't seem to add the OpenSSH directory to the path which prevents scp from working
mdata << {
key: 'sysprep-specialize-script-ps1',
value: '[Environment]::SetEnvironmentVariable( "PATH", "$ENV:PATH;C:\Program Files\OpenSSH", [EnvironmentVariableTarget]::Machine )',