forked from jedi4ever/veewee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix VirtualBox Addition installation to support VirtualBox >= 4.2.2
- Loading branch information
Showing
10 changed files
with
65 additions
and
18 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
templates/windows-2008R1-serverweb-amd64/install-vbox-guest.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
e:\VBoxWindowsAdditions-amd64.exe /S | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |
9 changes: 7 additions & 2 deletions
9
templates/windows-2008R1-serverweb-i386/install-vbox-guest.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
e:\VBoxWindowsAdditions-x86.exe /S | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-x86.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |
9 changes: 7 additions & 2 deletions
9
templates/windows-2008R1-serverwebcore-amd64/install-vbox-guest.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
e:\VBoxWindowsAdditions-amd64.exe /S | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |
7 changes: 6 additions & 1 deletion
7
templates/windows-2008R2-serverstandard-amd64-winrm/install-vbox.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |
10 changes: 8 additions & 2 deletions
10
templates/windows-2008R2-serverweb-amd64/install-vbox-guest.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
e:\VBoxWindowsAdditions-amd64.exe /S | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" | ||
|
9 changes: 7 additions & 2 deletions
9
templates/windows-2008R2-serverwebcore-amd64/install-vbox-guest.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
e:\VBoxWindowsAdditions-amd64.exe /S | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" | ||
|
6 changes: 5 additions & 1 deletion
6
templates/windows-2012R2-serverdatacenter-amd64/install-vbox.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
|
||
shutdown /r /t 2 /c "Install Virtualbox Guest Additions Reboot" /f /d p:4:1 | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
e:\VBoxWindowsAdditions-amd64.exe /S | ||
if exist e:\cert\VBoxCertUtil ( | ||
cmd /c e:\cert\VBoxCertUtil add-trusted-publisher e:\cert\oracle-vbox.cer --root e:\cert\oracle-vbox.cer | ||
) else ( | ||
cmd /c certutil -addstore -f "TrustedPublisher" a:oracle-cert.cer | ||
) | ||
cmd /c e:\VBoxWindowsAdditions-amd64.exe /S | ||
cmd /c shutdown.exe /r /t 5 /d p:2:4 /c "Vagrant reboot for VBoxWindowsAdditions" |