Commit Graph

97 Commits

Author SHA1 Message Date
usmcfiredog
525940362a
changed to DISM install to allow the feature to install 2019-03-05 08:05:56 -08:00
Nicholas Kasprinski
6f01e7a9d7 changed from pkgmgr to DISM to allow for the features to be enabled correctly 2019-02-05 17:43:13 -08:00
Jeffrey Martin
a4ecd265cf
Update guest tools install for better vmware support
* make guest tools last so pre-reqs are in place

Packer 1.3.x and possibly more does not inject enviornment
variables as expected into `windows-shell` provisioners, moving
script that requires these into a `shell` provisioner.

* do not trust default uploaded windows.iso

Packer in some cases will upload windows.iso from the host
building the VM, since server 2008 needs a specific older
version of tools this can cause problems.

Example issue:
VMware Fusion 11 on macOS Mojave will supply 10.3.x in windows.iso
and will hit https://kb.vmware.com/s/article/55798 due the patch level
expectaions that are intentionally not met for Windows 2008r2.
2019-01-17 21:33:55 -06:00
Stan
dc43bc6c9f add explicit TLS 1.2 setting to PS session when downloading RubyDevKit from new https endpoint 2018-12-01 19:21:52 -08:00
Jeffrey Martin
a3c19e7fac
lets try version 16.04, hopefully buys more time 2018-04-11 10:20:17 -05:00
Jeffrey Martin
4fbe02277d
Update 7zip url for latest version
Fix #266 due to previous version now behind soureforge redirect.
2018-04-09 11:34:03 -05:00
Brent Cook
1dc344bc30
Land #231, Add the Linux Box From the 2017 CTF 2018-03-14 20:59:53 -05:00
Hlynrkjaer
4b3ad2a7b2
Fix for "Could not create SSL/TLS secure channel".
Proposed file change is potential fix for ""Could not create SSL/TLS secure channel"" with ""scripts/installs/install_openjdk6.bat"".
Discussed there: https://github.com/rapid7/metasploitable3/issues/219
2018-03-03 15:23:26 +00:00
Chan9390
51778136ac
Added WAMP installer to /resources/wamp 2018-02-20 17:48:30 +05:30
James Barnett
39c8ee092f Merge branch 'feature/linux_ctf' into merge_linux_ctf 2017-12-14 16:31:53 -06:00
Jeffrey Martin
f6fc402e0a
suppress non-zero exit for glassfish start
when requesting glassfish to start in vmware fusion 10 packer get
a non-zero exit code when service is already starting.  This look
to be valid to simply ignore.
2017-11-28 12:33:39 -06:00
Chan9390
880ba056b0
Moved devkit to RubyDevKit 2017-09-01 16:34:41 +05:30
Tijl Deneut
fbbb3e4718 Fix ManageEngine not starting
Notification Server fails to be configured for Local Service and the auto start settings where lost too. Fixed now.
2017-08-03 15:15:40 +02:00
Tijl Deneut
5e99d564cb Fix the broken jack_of_diamonds ADS flag 2017-08-03 15:14:31 +02:00
James Barnett
b4b47b5e06 Merge branch 'master' into feature/linux_ctf 2017-07-27 11:31:23 -05:00
James Barnett
0ddaf0c8b9
Add .NET 4.0 script back in.
Let's keep this file even though it's not actively being used.
IMO it's better to have a large collection of working install
scripts that we can use as needed. This will make sure it is
available if needed in the future.
2017-07-27 11:19:43 -05:00
Chan9390
81571c9ff4
Removed dotnet 4.0 and added WMF to autounattend 2017-07-26 23:47:34 +05:30
Chan9390
415660add5
Removed dotnet 4.0 2017-07-26 19:11:16 +05:30
Chan9390
181f3e733b
Moving dotnet installation to Autounattend.xml 2017-07-26 14:41:37 +05:30
James Barnett
e86ba5119b Merge branch 'ctf/master' into feature/linux_ctf 2017-07-25 11:12:18 -05:00
wchen-r7
d398a7b6e8 Add Autorun for linux share 2017-07-12 17:16:19 -05:00
wchen-r7
848c23898e Add share from Linux 2017-07-12 17:14:45 -05:00
Chan9390
6901e885f1
Increased the sleep time in glassfish script #155 2017-06-28 11:15:15 +05:30
Matt Robinson
550140e51f
Fix typo in script
This is windows, not unix :)
2017-06-26 21:01:04 -04:00
James Barnett
e12f4e39fe Merge branch 'master' into feature/build_with_packer 2017-06-13 15:23:26 -05:00
Chan9390
99cd396aba
Fixed the Ruby version to 2.3.3 #145 2017-05-29 18:37:33 +05:30
James Barnett
abe223ba44 Merge remote-tracking branch 'origin/master' into feature/build_with_packer 2017-05-02 15:44:49 -05:00
wchen-r7
e937c7055d Increase timeout by 5 for GlassFish, also rm unnecessary taskkill 2017-05-02 10:22:19 -05:00
jbarnett-r7
280e9e9fdd Merge pull request #96 from jikuja/PR
Fix glassfish
2017-04-11 14:02:19 -05:00
jbarnett-r7
8b1af132e1 Merge pull request #93 from a-garcia/Update_Elasticsearch's_initial_startup_time
Updated the initial startup time for Elasticsearch Fixes #73
2017-03-17 15:11:20 -05:00
Janne Kujanpää
1245a782bb Fix glassfish
This fix was in #65 but was removed from PR for some reason
2017-03-07 19:10:02 +02:00
James Barnett
1066317922
Update URL for WAMP download. Fixes #91 2017-03-06 17:05:28 -06:00
Arturo Garcia
448dbb007c Updated the initial startup time for Elasticsearch from 5 seconds to 30 seconds. 2017-03-05 08:45:08 -06:00
Nicholas Charron
a076214362 Merged with upstream 2017-01-25 09:47:09 -05:00
Nicholas Charron
394d47f60f updating changes. still work in progress 2017-01-25 09:43:00 -05:00
Kyle Gray (Noxferatu)
ef8fed0fd2 Merge pull request #65 from Centurion89/add_vmware_build_support
Adding Vagrant build support for VMWare
2017-01-12 10:30:08 -06:00
James Barnett
3fbc4b42d4
Add the Oracle root CA during packer build to fix failures caused by expired Oracle certificate in guest additions. Fixes #75 2017-01-11 15:05:32 -06:00
Adric Net
5130f491d1 glassfish install: Enable overwriting in 7Zip
This has proved very helpful when troubleshooting builds. Without it the second time this script runs it hangs waiting for input to 7zip like this:
```
   default: Running: scripts/installs/install_boxstarter.bat as c:\tmp\vagrant-shell.bat
==> default: C:\Windows\system32>mkdir C:\glassfish 
==> default: 
==> default: A subdirectory or file C:\glassfish already exists.
==> default: 
==> default: C:\Windows\system32>powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.java.net/glassfish/4.0/release/glassfish-4.0.zip', 'C:\Windows\Temp\glassfish4.zip')"  0<NUL 
==> default: C:\Windows\system32>cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\glassfish4.zip" -oC:\glassfish" 
==> default: 
==> default: 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
==> default: 
==> default: Scanning the drive for archives:
==> default: 1 file, 102178360 bytes (98 MiB)
==> default: 
==> default: Extracting archive: C:\Windows\Temp\glassfish4.zip
==> default: --
==> default: Path = C:\Windows\Temp\glassfish4.zip
==> default: Type = zip
==> default: Physical Size = 102178360
==> default: 
==> default: 
==> default: Would you like to replace the existing file:
==> default:   Path:     C:\glassfish\glassfish4\bin\asadmin
==> default:   Size:     2274 bytes (3 KiB)
==> default:   Modified: 2013-05-14 22:08:54
==> default: with the file from archive:
==> default:   Path:     glassfish4\bin\asadmin
==> default:   Size:     2274 bytes (3 KiB)
==> default:   Modified: 2013-05-14 22:08:54
==> default: ? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? 
```
2016-12-30 09:57:58 -05:00
Chris Long
acf5b4df2c Reverting my changes to glassfish and updating .gitignore 2016-12-28 16:48:33 -06:00
wchen-r7
1c9a59437b Fix a typo 2016-12-16 09:45:15 -06:00
wchen-r7
3cd1ae0c4c Add seven of hearts 2016-12-05 03:07:37 -06:00
wchen-r7
56e2109d9d Add King of Clubs 2016-12-03 03:43:24 -06:00
Nicholas Charron
663016015f Fix for FTP script copy 2016-11-20 12:16:25 -05:00
Nicholas Charron
b4f7eecd85 Forgot a file... 2016-11-20 11:36:37 -05:00
Nicholas Charron
1db87e68d0 Added windows-shell provisioning along with inline powershell for choco and some restarts 2016-11-20 11:20:14 -05:00
Nicholas Charron
ebfa4b71f2 Will install dotnetfx4.0 and choco with packer. WARNING STILL WIP 2016-11-19 15:03:43 -05:00
wchen-r7
3bc0650a9e Add ten of diamonds 2016-11-04 16:38:11 -05:00
wchen-r7
3632b89b31 Make ManageEngine run as LOCAL SERVICE 2016-11-03 22:55:08 -05:00
wchen-r7
3b330046c0 Lower wampapache priv to LOCAL SERVICE 2016-11-03 10:58:43 -05:00
wchen-r7
6215d278d0 Fix GlassFish service start 2016-11-02 17:07:02 -05:00