Commit Graph

62 Commits

Author SHA1 Message Date
Micah R Ledbetter
7dc7cb73fd Use new naming system for wintriallab VMs 2016-11-22 13:02:16 -06:00
Micah R Ledbetter
ead64b024b Add wintriallab func for enabling untrusted outbound winrm connections 2016-11-18 15:58:41 -06:00
Micah R Ledbetter
f58930e9f0 buildpacker: set cache dir, fix bug if you don't pass --force 2016-11-09 18:45:47 -06:00
Micah R Ledbetter
e144edee71 Remove vestigial buildlab.ps1 2016-11-09 17:28:14 -06:00
Micah R Ledbetter
6dff414a72 Packer template: fix bug with isodate, update caryatid invocation 2016-11-09 17:27:32 -06:00
Micah R Ledbetter
d64e05c420 Remove vestigial provision-dlpvpns.ps1 file 2016-11-09 17:26:18 -06:00
Micah R Ledbetter
141620a9a3 Add FreyjaC 2016-11-09 17:26:04 -06:00
Micah R Ledbetter
d0391ef0f2 Add more vars to packerfile, rename output box 2016-11-09 14:51:12 -06:00
Micah R Ledbetter
01e41ae2ff Start some integration between packer and caryatid (untested) 2016-11-09 14:51:09 -06:00
Micah R Ledbetter
af371e104a Remove legacy-packer-windows 2016-11-08 12:32:58 -06:00
Micah R Ledbetter
36625547c4 Fix linting errors & do misc cleanup in buildpacker 2016-11-03 18:12:19 -05:00
Micah R Ledbetter
516234c958 Fix buildpacker's vagrant step, and add --action 2016-11-03 18:09:20 -05:00
Micah R Ledbetter
89e2fc0c5e Configure NEDOE VPN in Freyja provisioner 2016-11-03 18:08:51 -05:00
Micah R Ledbetter
35aa54a917 Initial version of python buildpacker script. Might be broken. 2016-11-03 14:54:48 -05:00
Micah R Ledbetter
528b3c9baa buildlab: Add examples 2016-11-02 14:10:15 -05:00
Micah R Ledbetter
8543bc28b9 Provision Freyja machines: magic.ps1, DLP VPNs 2016-11-02 14:00:52 -05:00
Micah R Ledbetter
7db64d4305 Better default location for wintriallab 2016-11-02 14:00:52 -05:00
Micah R Ledbetter
763feaed9a Add script to provision DLP VPNs 2016-06-16 12:25:56 -05:00
Micah R Ledbetter
7f8150aca6 Fix build failure in wintriallab 2016-06-09 17:55:18 -05:00
Micah R Ledbetter
a6c6e3f019 Iron out bug in FF stuff, enable getting addon from just a name 2016-05-10 11:17:19 -05:00
Micah R Ledbetter
b3ae00c15e just gitignore things 2016-05-10 10:47:37 -05:00
Micah R Ledbetter
20c827d92f Add win10x64 2016-05-10 10:47:10 -05:00
Micah R Ledbetter
89c5fb17e4 Add functions for installing/configuring Firefox 2016-05-09 17:54:11 -05:00
Micah R Ledbetter
6ac12c69d7 Add Firefox-related functions, and improve web downloader
- Add Get-SanitizedFilename
- Add Get-RootedPath
- Modify Get-WebUrl to use these functions for more robustness
- Add Install-Firefox, which downloads and installs
- Add Set-FirefoxOptions, mostly stub for now, can set default browser
2016-05-05 16:47:36 -05:00
Micah R Ledbetter
280b40c8fb Update Vagrantfiles for Freyja VMs 2016-03-15 11:45:39 -05:00
Micah R Ledbetter
2652ba63ae windows-trial-lab updates/improvements 2016-03-15 11:43:12 -05:00
Micah R Ledbetter
7989f67797 More work on iso updater thing 2016-02-16 17:58:16 -06:00
Micah R Ledbetter
620dde71d9 Use win10 for tgirl 2016-01-08 11:08:49 -06:00
Micah R Ledbetter
1f0b53b2b9 Fix choco call to actually work lol 2016-01-08 11:08:47 -06:00
Micah R Ledbetter
c33977f20e Further work on win 81 x86 updater. Add Set-AutoAdminLogon function. 2016-01-07 18:01:05 -06:00
Micah R Ledbetter
02d3de7c9d Initial work on an isoupdater config for win81x86 2016-01-05 16:57:39 -06:00
Micah R Ledbetter
889b323fc1 Add Vagrant box for Terraria bullshit 2015-12-22 17:45:24 -06:00
Micah R Ledbetter
9664df6899 Add things to bitchbox-postinstall 2015-12-10 18:56:20 -06:00
Micah R Ledbetter
9de587fbe7 Fix Freyja's Vagrantfile(s) - they work! 2015-12-10 18:53:53 -06:00
Micah R Ledbetter
444e7b6aca buildlab improvements & bug fixes
- Less host-specific hard coding
- Fix Vagrant commands
- Keep the Vagrant VMs in a different directory
2015-12-10 18:52:13 -06:00
Micah R Ledbetter
c8e463b062 Improve Vagrant support in buildlab 2015-12-09 13:31:57 -06:00
Micah R Ledbetter
bd57cbeed2 bitchbox updates 2015-12-08 12:57:11 -06:00
Micah R Ledbetter
bf35a1da57 Add Vagrantfile files for FrejaA/B 2015-11-25 15:56:41 -06:00
Micah R Ledbetter
1376f493ff Add bitchbox Vagrant directory 2015-11-25 15:55:36 -06:00
Micah R Ledbetter
be5011d459 Add .vagrant directories to .gitignore 2015-11-25 15:55:24 -06:00
Micah R Ledbetter
3b6637a946 Add functions for creating local SAM accounts 2015-11-25 15:54:33 -06:00
Micah R Ledbetter
415ccce263 Add note about required vagrant plugin 2015-11-25 15:54:10 -06:00
Micah R Ledbetter
7fcae7e1b2 100% working win10x86!!!
- Fix bug in Invoke-ExpressionEx
- Fix bug in Set-PasswordExpiry
2015-11-16 17:48:32 -06:00
Micah R Ledbetter
202851cb2d Make postinstall scripts more robust
(Still having problems, but I'm knocking them out one by one)

- Enable UAC in win81x86
- Throw if my scripts don't pass syntax check BEFORE running Packer
- Make the postinstall scripts more robust in general
- Add more robust Invoke-ExpressionEx, remove Invoke-ExpressionAndLog
- Simplify win-updates.ps1. Don't duplicate code.
- Use scheduled tasks instead of registry keys for running postinstall
  commands after reboots
2015-11-13 18:43:43 -06:00
Micah R Ledbetter
72059d3d80 Big list of changes.
Status:
- ALMOST completely working in win10!
- Escept somehow my RestartRegistryEntry stuff broke?? Fuck

Scripts:
- Test PS syntax of all scripts before running buildlab
- Add Invoke-ScriptblockAndCatch and Write-ErrorStackToEventLog
- Move more bullshit to the slipstream module
- Improve Get-RestartRegistryEntry
- Fix Install-SevenZip
- Fix Compress-WindowsInstall
- Add ability to disable systray icon hiding
- Add ability to disable IE first run customization
- Add Set-PinnedApplication
- Add Set-AllNetworksToPrivate - required for Windows 10

win10 changes:
- Vagrant templates: enable accelerated video, clipboard, d&d
- packerfiles: enable clipboard, d&d
- Autounattend.xml files: enable UAC

Other
- Update documentation
2015-11-11 15:50:37 -06:00
Micah R Ledbetter
8a999fdd58 Reliably start WinRM, support Win10x86, fix other
Big features:

- Reliably start WinRM now!!
- Support Windows 10 x86!

Smaller features

- Improve README
- Don't power off the (virtual) monitor to save power
- Add Invoke-ScriptblockAndCatch and use it in postinstall scripts

Fixes and reorgs:

- Move all the packer stuff inside the packer/ directory
- Break out possibly-nonfunctional slipstream stuff to its own module
- Clean up broken bits in buildlab
- Clean up vestigial bits in wintriallab-postinstall
- Fix lots of broken pieces after encountering them one by one
- Fix RestartAction stuff in autounattend-postinstall
2015-11-02 17:27:46 -06:00
Micah R Ledbetter
736a42c514 Move scripts/postinstall/* to just scripts 2015-11-02 11:33:54 -06:00
Micah R Ledbetter
4192667eec wintriallab: WORKING BUILDS
- It can auto trigger WinRM enabling
- Use stronger password for vagrant user so WinRM will allow it
- Reboot after installing VBox Additions before running WSUS
- Way more verbose Packer
- Slightly better error handling in postinstall scripts
- Use the Event Log for logging in the postinstall module
- Fix lots of bugs that cropped up without me realizing
- Install VBox Additions from either ISO or attached disk
- Install from ISO by default (smoother in Packer)
- Accept EULA for Windows Updates where relevant
2015-10-30 19:47:57 -05:00
Micah R Ledbetter
09b2071a4b Fix small bugs and syntax errors everywhere 2015-10-28 16:31:21 -05:00
Micah R Ledbetter
64a5a02d8c Minor improvements I probably shouldn't spent time making 2015-10-27 16:20:36 -05:00