efops / packer-ubuntu20.04

Packer vsphere-iso builder for Ubuntu-20.04

Home Page:https://efkan-isazade.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://efkan-isazade.com

License:MIT License


Languages

Language:HCL 92.6%Language:Shell 7.4%