mirror of
				https://github.com/optim-enterprises-bv/terraform-talos.git
				synced 2025-10-31 18:28:32 +00:00 
			
		
		
		
	Run talos on proxmox
This commit is contained in:
		| @@ -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
									
								
							
							
						
						
									
										1
									
								
								system_os/proxmox/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | packer_cache/ | ||||||
| @@ -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>" | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Serge Logvinov
					Serge Logvinov