Finished packer scripts for Ubuntu 24.04

This commit is contained in:
2024-09-20 20:27:10 +03:00
parent 2c2770b4e1
commit f1c2906b58
13 changed files with 279 additions and 12 deletions

View File

@ -22,7 +22,7 @@ packer {
// var1 = "var1"
//}
source "vsphere-iso" "debian-12" {
source "vsphere-iso" "debian-12-x64" {
vcenter_server = var.vcenter_server
username = var.vcenter_username
password = var.vcenter_password
@ -70,7 +70,7 @@ source "vsphere-iso" "debian-12" {
build {
name = "template"
sources = ["source.vsphere-iso.debian-12"]
sources = ["source.vsphere-iso.debian-12-x64"]
provisioner "file" {
destination = "/tmp/prep-script.sh"