Standardized hardware config on templates to use better CPU and disk types; Updated Ubuntu 22, Rocky 9 and Almalinux 9 post-install stuff
This commit is contained in:
@ -18,23 +18,15 @@ source "proxmox-iso" "ubuntu-22" {
|
||||
"e<wait>",
|
||||
|
||||
# Go to the end of the boot command
|
||||
"<down><down><down><down><down><wait>",
|
||||
|
||||
# Remove the kernel command-line that already exists
|
||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||
"<bs><bs><bs><bs><bs><bs>",
|
||||
"<down><down><down><down><left> <wait>",
|
||||
|
||||
# Add kernel command-line and start install
|
||||
"linux ",
|
||||
"/casper/vmlinuz ",
|
||||
"--- ",
|
||||
"autoinstall ",
|
||||
"ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/ ",
|
||||
"<enter>"
|
||||
"ds=\"nocloud-net;seedfrom=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ubuntu-22/\"",
|
||||
"<leftCtrlOn>x<leftCtrlOff><wait>"
|
||||
]
|
||||
|
||||
http_directory = "http"
|
||||
@ -42,11 +34,11 @@ source "proxmox-iso" "ubuntu-22" {
|
||||
http_port_min = "8080"
|
||||
|
||||
os = "l26"
|
||||
machine = "pc"
|
||||
scsi_controller = "virtio-scsi-single"
|
||||
cores = "2"
|
||||
sockets = "1"
|
||||
cpu_type = "host"
|
||||
memory = "2048"
|
||||
scsi_controller = "virtio-scsi-single"
|
||||
disks {
|
||||
disk_size = "30G"
|
||||
storage_pool = "templates"
|
||||
|
Reference in New Issue
Block a user