Linux VM Templates in Proxmox on EASY MODE using Prebuilt Cloud Init Images! Proxmox Quick Tips

apalrd's adventures February 2, 2023
Video Thumbnail

About

No channel description available.

Video Description

Have you ever wanted a nice, easy way to create new VMs to play with in Proxmox using your favorite base distro, without doing a lot of work to configure basic settings like your account, networking, hostname, etc? Cloud-Init can do all of that and more, but it's designed more for big cloud providers and not the easiest thing to setup. But, what if we could take a generic cloud image, and use it with Proxmox's built-in Cloud-Init automation, to provision easy bare VMs without having to build our own templates? That's what I've done, and I've written a script to automate downloading these templates on new Proxmox systems from the major distros which provide them (Debian, Ubuntu, Fedora). Of course, once cloud-init is installed and configured, there's no reason we can't clone a template, install software on it, and then clone the clone to have a newly-configured VM with more software installed. From here, you can build out your library of useful application templates for whatever you do regularly. See the script on my blog: https://www.apalrd.net/posts/2023/pve_cloud/ My favorite private cloud distributions - Ubuntu and Debian Debian - https://cloud.debian.org/images/cloud/ For Debian, you usually want generic or genericcloud (same as generic but with less drives for hardware, good for most virtual machines) Ubuntu - https://cloud-images.ubuntu.com/ For Ubuntu, you can use the standard .img, or the -disk-kvm.img. The KVM version has fewer drivers, and I found that the size difference was so small that using the basic .img was best for me. The script sets up the VMs to have a serial display instead of VGA, this is more convenient since you can copy and paste in the console window. In general, all of these templates will work with serial since OpenStack requires it, but they seem to work fine with VGA consoles too if you're into that. Link to my Discord to chat about related topics: https://discord.gg/xJsaEukAr4 If you find my content useful and would like to support me, feel free to here: https://ko-fi.com/apalrd Timestamps: 00:00 - Introduction 00:40 - Manual Template Creation 04:39 - Scripted Template Creation 06:49 - Using Templates 10:06 - Conclusion #proxmox #virtualization #cloud-init

You May Also Like

Essential Proxmox Tools Now

AI-recommended products based on this video

Loading...
Firewall Mini PC N100 Fanless Pocket Computer 2x2.5G I226-V Micro Router Appliance, AES-NI, HDMI DP Support Dual 4K Proxmox Server, 32GB RAM 1TB SSD

Firewall Mini PC N100 Fanless Pocket Computer 2x2.5G I226-V Micro Router Appliance, AES-NI, HDMI DP Support Dual 4K Proxmox Server, 32GB RAM 1TB SSD

(0)
$518.99
FREE delivery Jul 8 - 29
Loading...
Firewall Mini PC N100 Fanless Pocket Computer 2x2.5G I226-V Micro Router Appliance, AES-NI, HDMI DP Support Dual 4K Proxmox Server, 32GB RAM 1TB SSD

Firewall Mini PC N100 Fanless Pocket Computer 2x2.5G I226-V Micro Router Appliance, AES-NI, HDMI DP Support Dual 4K Proxmox Server, 32GB RAM 1TB SSD

(0)
$518.99
FREE delivery Jul 8 - 29
Loading...
Skytech Archangel Gaming PC Desktop – AMD Ryzen 5 3600 3.6 GHz, NVIDIA RTX 3060, 1TB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

Skytech Archangel Gaming PC Desktop – AMD Ryzen 5 3600 3.6 GHz, NVIDIA RTX 3060, 1TB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

(31)
$2,657.01$2,656.90
FREE delivery Feb 24 - Mar 3
Loading...
Skytech Blaze 3.0 Gaming PC Desktop – Intel Core i5 12400F 2.5 GHz, NVIDIA RTX 3060, 500GB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

Skytech Blaze 3.0 Gaming PC Desktop – Intel Core i5 12400F 2.5 GHz, NVIDIA RTX 3060, 500GB NVME SSD, 16GB DDR4 RAM 3200, 600W Gold PSU, 11AC Wi-Fi, Windows 11 Home 64-bit

(786)
$1,414.11
FREE delivery Thu, Feb 19Only 4 left in stock.
Loading...
Beelink SER3 Mini Desktop PC with AMD Ryzen 3 3200U 2C/4T, 16GB DDR4 500GB PCIE3.0 X4 SSD, Dual Display Output, WiFi6/BT5.2 W-11 Pro Mini Gaming Computer

Beelink SER3 Mini Desktop PC with AMD Ryzen 3 3200U 2C/4T, 16GB DDR4 500GB PCIE3.0 X4 SSD, Dual Display Output, WiFi6/BT5.2 W-11 Pro Mini Gaming Computer

(239)
$459.00
FREE delivery Sat, Jan 3
Loading...
BOSGAME E4 Mini PC, Ryzen 5 3550H Mini Computers, 16GB DDR4 1TB PCIe SSD, Dual RJ45 LAN, 4K Triple Display, USB-C & USB 3.2, Wi-Fi 5 & BT 5.0, Desktop Computers for Office, Home, Streaming

BOSGAME E4 Mini PC, Ryzen 5 3550H Mini Computers, 16GB DDR4 1TB PCIe SSD, Dual RJ45 LAN, 4K Triple Display, USB-C & USB 3.2, Wi-Fi 5 & BT 5.0, Desktop Computers for Office, Home, Streaming

(188)
$399.00
FREE delivery Sat, Jan 3
Loading...
BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

BOSGAME Linux Mini PC, Intel 12th N100 16GB DDR4 RAM 512GB SSD Linux Server Computers Preinstalled Ubuntu 22.04,Support 4K Triple Display/USB3.2/WiFi 5/2.5GbE

(44)
$219.00
PrimeFREE delivery Mon, Jun 16