A PowerShell 7+ script which deploys a local Ubuntu VirtualBox virtual machine using a cloud-init autoinstall config file and Packer.
To install, drop the entire Deploy-VbVm folder into one of your PowerShell 7 (or later) module directories. The default PowerShell module paths are listed in the $Env:PSModulePath environment variable.
- PowerShell 7+ Core
- VirtualBox (6.1.12 or higher)
- Packer
- New-Autoinstall
- New-PackerVbFile
- Invoke-PackerBuildVbVm
Packer and VirtualBox are both installed and in your System PATH.
Refer to the comment-based help in the module script for detailed usage information or see Deploy-VbVm.md
This has only been tested on PowerShell 7 Core on Windows 10 2004. Your mileage may vary if using this with PowerShell 5.1 or PowerShell 6 (Core) and/or other OSes.
Deploy-VbVm is MIT licensed.