Commit Graph

9 Commits

Author SHA1 Message Date
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
776a5f7744 windows-trial-lab:
- Convert everything to spaces (fuck you VS Code)
- Some initial work to stop relying on Get-LabTempDir
- Trying to delete as much code as possible
- Define constants all at the top of the file
- Improve Get-WebUrl
- Improve and simplify architecture handling
- Move some more functions to native Powershell from shellouts
- Add some functions for dealing w/ Windows Updates
2015-10-02 19:39:59 -05:00
Micah R Ledbetter
c1430c0bdb Add code for building updated Windows ISOs
- Improve PS code, though the lab scripts are kind of a mess still
- Move some functions over to the postinstall module (should rename)
- Rip out calls to dism.exe in favor of the Powershell dism module
- Use an exported $ArchitectureId dictionary variable like a global
  constant for talking about architecture names
- Programmatically get the path of ADK/WAIK files & folders
- Call out to oscdimg.exe to make a new ISO
2015-09-30 17:46:08 -05:00
Micah R Ledbetter
e1865e44b6 Work on supporting Windows Updates in buildlab; cleanup
Want to enhance buildlab to "slipstream" updates from WSUS Offline
Updater into the ISOs.

- Download updates
- Work with .wim files (Windows images that are used to install)
- Apply updates to .wim files

Other enhancements

- Clean up some postinstall stuff
- Try to use Powershell in Autounattend.xml as much as possible
2015-09-24 18:33:39 -05:00
Micah R Ledbetter
5b5cc98dd3 MY PACKER SHIT WORKS!!
- Remove all scripts I'm not using
- (All scripts still in legacy-packer-windows folder tho)
- Postinstall PS module now does EVERYTHING that old scripts were doing
- Eliminate need for SSH altogether
2015-09-23 11:48:36 -05:00
Micah R Ledbetter
1230ab9829 Got something working - I can build Win 8.1 x86 boxes!
- Add new script for building the Packer boxes called labbuilder.ps1
- Rearranged the hierarchy (my new script relies on the new hierarchy)
- Working windows_81_x86 folder
- Moved old packer-windows stuff to legacy-packer-windows directory.
  I plan to move it over piece by piece
- Added a script to install 7zip that the other post install scripts can
  depend on
- Fixed compact.bat & vm-guest-tools.bat to use 7zip installer
- Fixed compact.bat to work with 32 bit machines
- Added a readme
2015-09-17 16:56:39 -05:00