Linux/Proxmox
< Linux
Install Ubuntu to be used for cloning with cloud-init
- not working:
# in case of apt-cacher-ng touch /etc/apt/apt.conf.d/00aptproxy echo 'Acquire::http::Proxy "http://192.168.111.11:3142";' > /etc/apt/apt.conf.d/00aptproxy
apt update apt install -y cloud-init cloud-initramfs-growroot qemu-guest-agent
Use Ubuntu Cloud-Init Image
wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img qm create 9001 --memory 2048 --net0 virtio,bridge=vmbr0 qm importdisk 9001 focal-server-cloudimg-amd64.img local-lvm qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-1 qm set 9000 --ide2 local-lvm:cloudinit qm set 9000 --boot c --bootdisk scsi0 qm set 9000 --serial0 socket --vga serial0