Unverified Commit 81c0a437 authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Remove oracle-cert.cer

parent aa847279
...@@ -31,16 +31,12 @@ goto :done ...@@ -31,16 +31,12 @@ goto :done
:virtualbox :virtualbox
:: There needs to be Oracle CA (Certificate Authority) certificates installed in order
:: to prevent user intervention popups which will undermine a silent installation.
cmd /c certutil -addstore -f "TrustedPublisher" A:\oracle-cert.cer
if exist "C:\Users\vagrant\VBoxGuestAdditions.iso" ( if exist "C:\Users\vagrant\VBoxGuestAdditions.iso" (
move /Y C:\Users\vagrant\VBoxGuestAdditions.iso C:\Windows\Temp move /Y C:\Users\vagrant\VBoxGuestAdditions.iso C:\Windows\Temp
) )
if not exist "C:\Windows\Temp\VBoxGuestAdditions.iso" ( if not exist "C:\Windows\Temp\VBoxGuestAdditions.iso" (
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.virtualbox.org/virtualbox/5.2.0/VBoxGuestAdditions_5.2.0.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')" <NUL powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.virtualbox.org/virtualbox/5.1.30/VBoxGuestAdditions_5.1.30.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')" <NUL
) )
cmd /c ""C:\Program Files\7-Zip\7z.exe" x C:\Windows\Temp\VBoxGuestAdditions.iso -oC:\Windows\Temp\virtualbox" cmd /c ""C:\Program Files\7-Zip\7z.exe" x C:\Windows\Temp\VBoxGuestAdditions.iso -oC:\Windows\Temp\virtualbox"
......
...@@ -93,8 +93,7 @@ ...@@ -93,8 +93,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -62,8 +62,7 @@ ...@@ -62,8 +62,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
"./scripts/dis-updates.ps1", "./scripts/dis-updates.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/openssh.ps1", "./scripts/openssh.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -43,8 +43,7 @@ ...@@ -43,8 +43,7 @@
"floppy_files": [ "floppy_files": [
"./answer_files/2008_r2_core/Autounattend.xml", "./answer_files/2008_r2_core/Autounattend.xml",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/openssh.ps1", "./scripts/openssh.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "2048"], ["modifyvm", "{{.Name}}", "--memory", "2048"],
......
...@@ -47,8 +47,7 @@ ...@@ -47,8 +47,7 @@
"./answer_files/2012/Autounattend.xml", "./answer_files/2012/Autounattend.xml",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/openssh.ps1", "./scripts/openssh.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -56,8 +56,7 @@ ...@@ -56,8 +56,7 @@
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/unattend.xml", "./scripts/unattend.xml",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -51,8 +51,7 @@ ...@@ -51,8 +51,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -47,8 +47,7 @@ ...@@ -47,8 +47,7 @@
"./answer_files/2012_r2_hyperv/Autounattend.xml", "./answer_files/2012_r2_hyperv/Autounattend.xml",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/openssh.ps1", "./scripts/openssh.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -90,8 +90,7 @@ ...@@ -90,8 +90,7 @@
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/unattend.xml", "./scripts/unattend.xml",
"./scripts/sysprep.bat", "./scripts/sysprep.bat"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -80,8 +80,7 @@ ...@@ -80,8 +80,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -82,8 +82,7 @@ ...@@ -82,8 +82,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -96,8 +96,7 @@ ...@@ -96,8 +96,7 @@
"./scripts/docker/enable-winrm.ps1", "./scripts/docker/enable-winrm.ps1",
"./scripts/docker/2016/install-containers-feature.ps1", "./scripts/docker/2016/install-containers-feature.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -82,8 +82,7 @@ ...@@ -82,8 +82,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/docker/enable-winrm.ps1", "./scripts/docker/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -77,8 +77,7 @@ ...@@ -77,8 +77,7 @@
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -75,8 +75,7 @@ ...@@ -75,8 +75,7 @@
"{{user `autounattend`}}", "{{user `autounattend`}}",
"./scripts/disable-screensaver.ps1", "./scripts/disable-screensaver.ps1",
"./scripts/disable-winrm.ps1", "./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1", "./scripts/enable-winrm.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
"./scripts/dis-updates.ps1", "./scripts/dis-updates.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/openssh.ps1", "./scripts/openssh.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -47,8 +47,7 @@ ...@@ -47,8 +47,7 @@
"./answer_files/81/Autounattend.xml", "./answer_files/81/Autounattend.xml",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1",
"./scripts/openssh.ps1", "./scripts/openssh.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
...@@ -94,8 +94,7 @@ ...@@ -94,8 +94,7 @@
"./scripts/docker/enable-winrm.ps1", "./scripts/docker/enable-winrm.ps1",
"./scripts/docker/2016/install-containers-feature.ps1", "./scripts/docker/2016/install-containers-feature.ps1",
"./scripts/microsoft-updates.bat", "./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1", "./scripts/win-updates.ps1"
"./scripts/oracle-cert.cer"
], ],
"vboxmanage": [ "vboxmanage": [
[ [
......
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