Commit c08b90e1 authored by Stefan Scherer's avatar Stefan Scherer

Install containers, restart, install docker - WIP

parent 6f4d9121
powershell.exe -Command "Install-WindowsFeature -Name Containers"
rem https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup
powershell.exe -Command "wget -uri http://aka.ms/setupcontainers -OutFile C:\ContainerSetup.ps1"
powershell.exe -File "C:\ContainerSetup.ps1"
rem https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/manage_docker
rem https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup
powershell.exe -Command "wget -uri http://aka.ms/setupcontainers -OutFile C:\ContainerSetup.ps1"
powershell.exe -File "C:\ContainerSetup.ps1"
rem https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/manage_docker
echo ======= PAUSE ========
ping 127.0.0.1 -n 3600 > nul
echo ======= PAUSE DONE ===
echo ======= Sleeping while restart ========
ping 127.0.0.1 -n 30 > nul
......@@ -75,7 +75,19 @@
"./scripts/vm-guest-tools.bat",
"./scripts/vagrant-ssh.bat",
"./scripts/enable-rdp.bat",
"./scripts/install-containers.bat",
"./scripts/install-containers.bat"
]
},
{
"type": "windows-restart"
},
{
"type": "shell",
"remote_path": "/tmp/script.bat",
"execute_command": "{{.Vars}} cmd /c C:/Windows/Temp/script.bat",
"scripts": [
"./scripts/restart-helper.bat",
"./scripts/install-docker.bat",
"./scripts/disable-auto-logon.bat"
]
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment