fix qemu guest agent

This commit is contained in:
2025-11-28 03:06:47 +07:00
parent 835ac13046
commit 6b5ef25a3d
3 changed files with 4 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
image_url: "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-10-latest.x86_64.qcow2"
vm_name: "cloudimg-centos-stream-10"
image_url: "https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2"
vm_name: "cloudimg-rocky-stream-8"
vm_id: 0
storage: "local"
memory: 1024
cores: 1
disk_size: "10G"
disk_size: "40G"
bridge: "vmbr1"
vlan_tag: 301
proxmox_host: "10.10.26.11"

Binary file not shown.

View File

@@ -195,7 +195,7 @@ func createProxmoxVM(config *Config) error {
},
{"qm", "set", fmt.Sprintf("%d", config.VMID),
"--serial0", "socket",
"--vga", "std",
"--vga", "serial0",
},
{"qm", "set", fmt.Sprintf("%d", config.VMID),
"--ipconfig0", "ip=dhcp",