This commit is contained in:
Serge Logvinov
2023-03-28 07:32:23 +03:00
parent f3d7dca9fc
commit d1713f1f64
2 changed files with 20 additions and 1 deletions

19
proxmox/README.md Normal file
View File

@@ -0,0 +1,19 @@
# Proxmox
## Agenda
* create VM config in directory `/etc/pve/qemu-server/VMID.conf`
* allow cloud-init on VM
* prepare network config
* upload user-data (talos machine config) to the Proxmox host
* upload meta-data to the Proxmox host
Result VM config:
```yaml
# /etc/pve/qemu-server/VMID.conf
cpu: host
cicustom: user=local:snippets/VMID.yaml,meta=local:snippets/VMID.meta
ipconfig0: ...
net0: ...
```

View File

@@ -83,7 +83,7 @@ VM network config:
```config
# /etc/pve/qemu-server/ID.conf
net0: virtio=81:0B:E8:85:D2:F1,bridge=vmbr0,firewall=1
ipconfig0: ip=192.168.0.11/24,gw=192.168.0.1,ip6=a:b:c:d:8100b:e8ff:fe85:d2f1/64,gw6=a:b:c:d:8100::2
ipconfig0: ip=192.168.0.11/24,gw=192.168.0.1,ip6=a:b:c:d:810b:e8ff:fe85:d2f1/64,gw6=a:b:c:d:8100::2
```
IPv6 looks like SLAAC does, but it is static here.