Packer
-
Every virtualization platform has its way of creating the reusable images.
-
Packer is a tool which can automate this. Refer Here
-
To install packer on your system Refer Here
- Windows :
choco install packer - Mac:
brew tap hashicorp/tap brew install hashicorp/tap/packer - Windows :
-
Terminology:
- Builder: Builder defines where the image has to be created
- Provisioners: What provisioning can be done to create the iamge
- Variables: this section defines the parameters that can be passed as user input.
-
Command line
packer validate
packer build
- Refer Here for the packer tempalte created in the class.
