24
This commit is contained in:
@@ -48,17 +48,17 @@ source "proxmox" "rocky" {
|
|||||||
boot_command = ["<wait2><up><wait1><tab><wait1> inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/redhat.kix<wait1s><enter>"]
|
boot_command = ["<wait2><up><wait1><tab><wait1> inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/redhat.kix<wait1s><enter>"]
|
||||||
}
|
}
|
||||||
|
|
||||||
source "proxmox" "ubuntu" {
|
source "proxmox" "ubuntu24" {
|
||||||
template_name = "UBU2004"
|
template_name = "UBU2404"
|
||||||
template_description = "Ubuntu 20.04 Server template"
|
template_description = "Ubuntu 24.04 Server template"
|
||||||
proxmox_url = "https://192.168.111.34:8006/api2/json"
|
proxmox_url = "https://192.168.111.36:8006/api2/json"
|
||||||
node = "grosnoeud"
|
node = "grosnoeud"
|
||||||
iso_file = "ISOS:iso/ubuntu-20.04.3-live-server-amd64.iso"
|
iso_file = "ISOS:iso/ubuntu-24.04.1-live-server-amd64.iso"
|
||||||
iso_checksum = "f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98"
|
iso_checksum = "e240e4b801f7bb68c20d1356b60968ad0c33a41d00d828e74ceb3364a0317be9"
|
||||||
insecure_skip_tls_verify = true
|
insecure_skip_tls_verify = true
|
||||||
pool = "Linux-VM"
|
pool = "Linux-VM"
|
||||||
vm_name = "PackerTest"
|
vm_name = "ubuntu24"
|
||||||
vm_id = 654
|
vm_id = 854
|
||||||
memory = 2048
|
memory = 2048
|
||||||
cores = 1
|
cores = 1
|
||||||
sockets = 2
|
sockets = 2
|
||||||
@@ -67,7 +67,7 @@ source "proxmox" "ubuntu" {
|
|||||||
http_port_max = 4999
|
http_port_max = 4999
|
||||||
http_directory = "ubuntu-20.04"
|
http_directory = "ubuntu-20.04"
|
||||||
username = "root@pam"
|
username = "root@pam"
|
||||||
password = "bzzYpm8koNtPKFYjpjXSyjFY"
|
password = "galeregalere"
|
||||||
ssh_username = "firstuser"
|
ssh_username = "firstuser"
|
||||||
ssh_password = "firstuser"
|
ssh_password = "firstuser"
|
||||||
ssh_timeout = "10m"
|
ssh_timeout = "10m"
|
||||||
@@ -104,7 +104,7 @@ source "proxmox" "ubuntu" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
sources = [ "source.proxmox.ubuntu" ]
|
sources = [ "source.proxmox.ubuntu24" ]
|
||||||
|
|
||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
pause_before = "20s"
|
pause_before = "20s"
|
||||||
|
|||||||
Reference in New Issue
Block a user