https://github.com/hasiotis/home-packer
Home Lab packer recipes
https://github.com/hasiotis/home-packer
Last synced: 5 months ago
JSON representation
Home Lab packer recipes
- Host: GitHub
- URL: https://github.com/hasiotis/home-packer
- Owner: hasiotis
- Created: 2021-04-19T11:46:12.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-26T14:37:51.000Z (about 1 year ago)
- Last Synced: 2024-12-29T12:41:49.140Z (6 months ago)
- Language: HCL
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Install packer and run this:
```
$ packer init debian12.pkr.hcl
$ packer build --var-file=nuc.pkrvars.hcl debian12.pkr.hcl
```
This will create a DEBIAN12 template.```
$ packer init ubuntu2404.pkr.hcl
$ packer build --var-file=nuc.pkrvars.hcl ubuntu2404.pkr.hcl
```
This will create a UBUNTU2404 template.Where ~/nuc.pkrvars.hcl is:
```
proxmox_url = "https://nuc.hasiotis.loc:8006/"
proxmox_node = "nuc"
proxmox_username = "root@pam"
proxmox_password = "YOUR_PASSWORD"
```