Skip to content

A PowerShell 7+ script which creates a new Packer JSON file to build a local VirtualBox Ubuntu machine by merging parameters into the Packer file. This eliminates the need to use the -var-file option.

License

Notifications You must be signed in to change notification settings

simplenotsimpler/New-PackerVbFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New-PackerVbFile

A PowerShell 7+ script which creates a new Packer JSON file to build a local VirtualBox Ubuntu machine by merging parameters into the Packer file. This eliminates the need to use the -var-file option.

Getting Started

Installation

To install, drop the entire New-PackerVbFile folder into one of your PowerShell 7 (or later) module directories. The default PowerShell module paths are listed in the $Env:PSModulePath environment variable.

Requires

Packer and VirtualBox are both installed and in your System PATH.

Usage

Refer to the comment-based help in the module script for detailed usage information or see New-PackerVbFile.md

Notes

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.

PowerShell Local DevOps

New-Autoinstall

New-PackerVbFile

Invoke-PackerBuildVbVm

DeployVbVm

License

New-PackerVbFile is MIT licensed.

About

A PowerShell 7+ script which creates a new Packer JSON file to build a local VirtualBox Ubuntu machine by merging parameters into the Packer file. This eliminates the need to use the -var-file option.

Topics

Resources

License

Stars

Watchers

Forks