声明式管理 Proxmox API 对象与 Samba DNS 上游
This commit is contained in:
@@ -28,6 +28,9 @@ pve_vms:
|
||||
description: "VyOS router: OSPF peer to the NEC IX, gateway for the SDN VNets."
|
||||
cores: 2
|
||||
memory: 2048
|
||||
# Portable across Intel pve1 and AMD pve2/pve3. `host` transferred memory
|
||||
# but failed target-side resume during the 2026-09-17 migration.
|
||||
cpu: x86-64-v2-AES
|
||||
disk: "pve-rg:8"
|
||||
# Headless by design: UEFI + serial console, NO emulated VGA. VyOS's own
|
||||
# kernel cmdline carries console=ttyS0, and the installer was answered with
|
||||
@@ -56,6 +59,7 @@ pve_vms:
|
||||
# are AMD.
|
||||
cores: 4
|
||||
memory: 4096
|
||||
cpu: host
|
||||
disk: "pve-rg:40"
|
||||
bios: ovmf
|
||||
machine: q35
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
--description '{{ item.item.description }}'
|
||||
--machine {{ item.item.machine | default('q35') }}
|
||||
--bios {{ item.item.bios | default('ovmf') }}
|
||||
--memory {{ item.item.memory }} --cores {{ item.item.cores }} --cpu host
|
||||
--memory {{ item.item.memory }} --cores {{ item.item.cores }} --cpu {{ item.item.cpu | default('x86-64-v2-AES') }}
|
||||
--scsihw virtio-scsi-single
|
||||
--scsi0 {{ item.item.disk }},discard=on,ssd=1
|
||||
--efidisk0 {{ item.item.disk.split(':')[0] }}:1,efitype=4m,pre-enrolled-keys=0
|
||||
|
||||
Reference in New Issue
Block a user