Remove oracle-cert.cer

parent aa847279
......@@ -31,16 +31,12 @@ goto :done
: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" (
move /Y C:\Users\vagrant\VBoxGuestAdditions.iso C:\Windows\Temp
)
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"
......
......@@ -93,8 +93,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -62,8 +62,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -49,8 +49,7 @@
"./scripts/dis-updates.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1",
"./scripts/oracle-cert.cer"
"./scripts/openssh.ps1"
],
"vboxmanage": [
[
......
......@@ -43,8 +43,7 @@
"floppy_files": [
"./answer_files/2008_r2_core/Autounattend.xml",
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1",
"./scripts/oracle-cert.cer"
"./scripts/openssh.ps1"
],
"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "2048"],
......
......@@ -47,8 +47,7 @@
"./answer_files/2012/Autounattend.xml",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1",
"./scripts/oracle-cert.cer"
"./scripts/openssh.ps1"
],
"vboxmanage": [
[
......
......@@ -56,8 +56,7 @@
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/unattend.xml",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -51,8 +51,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -47,8 +47,7 @@
"./answer_files/2012_r2_hyperv/Autounattend.xml",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1",
"./scripts/oracle-cert.cer"
"./scripts/openssh.ps1"
],
"vboxmanage": [
[
......
......@@ -90,8 +90,7 @@
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/unattend.xml",
"./scripts/sysprep.bat",
"./scripts/oracle-cert.cer"
"./scripts/sysprep.bat"
],
"vboxmanage": [
[
......
......@@ -80,8 +80,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -82,8 +82,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -96,8 +96,7 @@
"./scripts/docker/enable-winrm.ps1",
"./scripts/docker/2016/install-containers-feature.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -82,8 +82,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/docker/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -77,8 +77,7 @@
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"vboxmanage": [
[
......
......@@ -75,8 +75,7 @@
"{{user `autounattend`}}",
"./scripts/disable-screensaver.ps1",
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1",
"./scripts/oracle-cert.cer"
"./scripts/enable-winrm.ps1"
],
"vboxmanage": [
[
......
......@@ -49,8 +49,7 @@
"./scripts/dis-updates.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1",
"./scripts/oracle-cert.cer"
"./scripts/openssh.ps1"
],
"vboxmanage": [
[
......
......@@ -47,8 +47,7 @@
"./answer_files/81/Autounattend.xml",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/openssh.ps1",
"./scripts/oracle-cert.cer"
"./scripts/openssh.ps1"
],
"vboxmanage": [
[
......
......@@ -94,8 +94,7 @@
"./scripts/docker/enable-winrm.ps1",
"./scripts/docker/2016/install-containers-feature.ps1",
"./scripts/microsoft-updates.bat",
"./scripts/win-updates.ps1",
"./scripts/oracle-cert.cer"
"./scripts/win-updates.ps1"
],
"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