Qm create 9001 -name leap -cores 2 -memory 4096 -net0 virtio,bridge =vmbr0 Qm template 9000 # Creating Leap Template wget Qm set 9000 -agent 1 qm set 9000 -vga qxl Qm set 9000 -scsihw virtio-scsi-pci -scsi0 local-lvm:vm-9000-disk-0 Qm importdisk 9000 openSUSE-Tumbleweed-JeOS.x86_64-kvm-and-xen.qcow2 local-lvm Qm create 9000 -name tumbleweed -cores 2 -memory 4096 -net0 virtio,bridge =vmbr0 Here is the script that you can run on your Proxmox server to create these templates too. Lastly, I also added an Ubuntu template that uses cloud-init. An item to note is that the OpenStack versions of the openSUSE images support cloud-init which I have included just the Leap version to support if needed. The openSUSE JeOS images leverage the JeOS firstboot while the openSUSE MicroOS flavors use ignition. I have created a set of templates for several openSUSE flavors from Leap JeOS to MicroOS. Many Linux distros create cloud images that are small and provide a way to bootstrap that cloud image into a running VM efficiently. As part of streamlining, creating templates for your VMs can make setup and any required bootstrapping easier than doing it from an ISO installation. Containers solved that for many types of work and there are still plenty of things that require dedicated VMs. Adding in virtualization to your workflows requires that you streamline steps as much as possible.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |