This postprocessor was merged to hashicorp/packer.
It allows you to create a template for the vmware-iso builder.
Go ahead and download a pre-built Freezer binary for your operating system from Releases page Then you need choose one folder for the magic to begins:
-
The directory where packer is, or the executable directory.
-
~/.packer.d/plugins on Unix systems or %APPDATA%/packer.d/plugins on Windows.
-
The current working directory.
For more details check the install plugins page
{
"type":"freezer",
"host":"{{user `host`}}",
"insecure": true,
"username":"{{user `username`}}",
"password":"{{user `password`}}",
"vm_name":"{{user `vm_name`}}"
}
insecure
- If it's true Skip verification of server certificate. Default is false.
Optional parameters:
folder
- Where the template is created.datacenter
- If you have more than one, you will need to specified one.
{
"type":"freezer",
"host":"vcenter.local",
"insecure": true,
"username":"root",
"password":"sssh_is_a_secret",
"datacenter":"murlock",
"vm_name":"centos-7.3",
"folder":"/packer-templates/os/centos-7"
}