声明式管理 Proxmox API 对象与 Samba DNS 上游
yaml / yaml (pull_request) Failing after 25s
terraform / validate (pull_request) Successful in 51s
ansible / collection-test (pull_request) Successful in 1m27s
ansible / lint (pull_request) Successful in 3m45s

This commit is contained in:
2026-09-17 13:22:50 +00:00
parent 71eea7d8fc
commit 2e05b1a96a
15 changed files with 277 additions and 106 deletions
@@ -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