Cloud-Init arrives at Proxmox

Finally the support for early initialization of virtual machines arrives at Proxmox PVE. This means that now we can use our favorite distribution’s «cloud» flavor and provisioning them with the initial data (Networking, Authentication, Package management, Provisionning via chef/puppet/…) for a realy fast deploy of VM-s

 

Let’s see an example with debian:

 

qm create 9002 --name debian-cloud-image --memory 2048 --net0 virtio,bridge=vmbr2 --cores 2 --sockets 1 --cpu cputype=kvm64 --description "Debian 9.4 cloud image" --kvm 1 --numa 1

qm importdisk 9002 debian-9.4.3-20180416-openstack-amd64.qcow2  zfs_sata
qm set 9002 --scsihw virtio-scsi-pci --virtio0 zfs_sata:vm-9002-disk-1
qm set 9002 --ide2 zfs_sata:cloudinit
qm set 9002 --vga qxl
qm set 9002 --boot c --bootdisk virtio0
qm set 9002 --sshkey /etc/pve/ansible_key.pub
qm set 9002 --serial0 socket --vga serial0

 



¿Te gusta este post? Es solo un ejemplo de cómo podemos ayudar a tu empresa...

Queremos tu opinión :)