Proxmox
Convert the Ubuntu cloud image just uploaded to a disk of the VM just created.
-
Create a VM on the Web GUI
- OS Select Do not use any media.
- Disks Delete scsi0 on the left.
- CPU
- Type: host
-
Network
- Turn off the firewall to test
-
SSH to Proxmox and login root account.
example
qm importdisk 100 noble-server-cloudimg-amd64.img local-lvm
qm set <100> --virtio0 local-lvm:vm-100-disk-0
qm set <100> --boot c --bootdisk virtio0
qm set <100> --ide0 local-lvm:cloudinit
-
resize the disk after config Web GUI: Hardware => Hard disk => Disk Action => Resize
-
Edit the Cloud-Init
User Password IP config
press Regenerate Image button after the change
Proxmox is the one VM of ESXi Host(nested environment)
ESXi side
port group - security policy - Allow promiscuous mode: yes - Allow forged transmits: yes - Allow MAC changes: no
Proxmox side
mandatory
add the bridge-ageing 0
validate the /etc/network/interfaces
auto lo
iface lo inet loopback
iface nic0 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.19.30.107/24
gateway 172.19.30.1
bridge-ports nic0
bridge-stp off
bridge-fd 0
bridge-ageing 0
source /etc/network/interfaces.d/*
optional
vmbr0 - VLAN aware: yes
validate the /etc/network/interfaces