Run talos on proxmox

This commit is contained in:
Serge Logvinov
2021-09-10 21:38:18 +03:00
parent 4f8517f821
commit e6596c7961
3 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,6 @@ resource "proxmox_vm_qemu" "controlplane" {
cloudinit_cdrom_storage = var.proxmox_storage cloudinit_cdrom_storage = var.proxmox_storage
onboot = false onboot = false
bios = "ovmf"
cpu = "host,flags=+aes" cpu = "host,flags=+aes"
cores = 2 cores = 2
sockets = 1 sockets = 1
@@ -48,7 +47,7 @@ resource "proxmox_vm_qemu" "controlplane" {
bridge = var.proxmox_bridge bridge = var.proxmox_bridge
} }
boot = "order=scsi0;net0" boot = "order=scsi0"
disk { disk {
type = "scsi" type = "scsi"
storage = var.proxmox_storage storage = var.proxmox_storage

1
system_os/proxmox/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
packer_cache/

View File

@@ -15,10 +15,10 @@ source "proxmox" "talos" {
node = var.proxmox_nodename node = var.proxmox_nodename
insecure_skip_tls_verify = true insecure_skip_tls_verify = true
iso_file = "local:iso/archlinux-2021.09.01-x86_64.iso"
# iso_url = "http://mirror.rackspace.com/archlinux/iso/2021.09.01/archlinux-2021.09.01-x86_64.iso" # iso_url = "http://mirror.rackspace.com/archlinux/iso/2021.09.01/archlinux-2021.09.01-x86_64.iso"
# iso_checksum = "sha1:a0862c8189290e037ff156b93c60d6150b9363b3" # iso_checksum = "sha1:a0862c8189290e037ff156b93c60d6150b9363b3"
# iso_storage_pool = "local" # iso_storage_pool = "local"
iso_file = "local:iso/archlinux-2021.09.01-x86_64.iso"
unmount_iso = true unmount_iso = true
scsi_controller = "virtio-scsi-pci" scsi_controller = "virtio-scsi-pci"
@@ -47,7 +47,7 @@ source "proxmox" "talos" {
boot_wait = "15s" boot_wait = "15s"
boot_command = [ boot_command = [
"<enter><wait1m>", "<enter><wait1m>",
"passwd<enter>packer<enter>packer<enter>" "passwd<enter><wait>packer<enter><wait>packer<enter>"
] ]
} }