Skip to content

efops/packer-ubuntu20.04

Repository files navigation

Packer config to build Vsphere virtual machines templates from Ubuntu 20.04 live-server ISO file as a source.

I have used iso_path variable on ubuntu-20.04.json. But Also I have added iso_url variable to variables.json. So If you dont have ready Ubuntu-20.04 live-server then you can basically change iso_path variable with iso_url in ubuntu-20.04.json. You can find more detailed information on my website (https://efkan-isazade.com/p/automating-ubuntu-20.04-live-server-template-generation-with-packer-vsphere-iso-build./).

Run packer build:

packer build -on-error=ask -var-file variables.json ubuntu-20.04.json

Running packer build with hcl template

packer build -debug -on-error=ask -var-file variables.pkrvars.hcl -var-file vsphere.pkrvars.hcl ubuntu-20.04.pkr.hcl

Support

If you like it, Click Buy Me A Coffee

Thank you

About

Packer vsphere-iso builder for Ubuntu-20.04

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published