Create VMs on Proxmox in Seconds!

preview_player
Показать описание
In this video I show you how to create VM Templates in Proxmox. We will use Packer from Hashicorp, which is a free and open-source image automation tool. This can create custom machine images for Proxmox with provisioning shell scripts and inject configuration settings via Cloud-Init. #Proxmox #Packer #Cloudinit

Follow me:

Timestamps:

00:00 - Introduction
01:20 - What is Packer?
03:07 - How to use Packer in Proxmox
04:45 - Integrating Cloud-Init
07:27 - Advertisement-*
08:03 - Preparing the Project
10:09 - Packer Template for Ubuntu
16:56 - Provisioning the Ubuntu Server
18:48 - Build the Template with Packer
20:24 - Deploy a new VM from the Template
21:43 - Troubleshooting and Issues
24:01 - The next steps

________________
All links with "*" are affiliate links.
Рекомендации по теме
Комментарии
Автор

Thanks for sharing your knowledge.

Worked for me after some adjustments.

Thanks for all.

anjindevops
Автор

Great video.
Very pleasing to follow.
Very clear:
You ve put a framework by putting the most important principles first,
Then putting details with why, what, steps and tools on those principles, and by linking logicaly the principles.

Few have your redactional qualities.

One way or another, you have to teach.

pouet
Автор

vielen Dank für eure tollen Videos! I had a similar path to using Packer and CloudInit to create VMware Fusion VMs. One hard lesson learned was to not use one's existing vm directory for the output target directory - it gets cleared (its in the docs, i just missed it). Ask me how I know - I lost all of my existing vm images. Oh well, I needed to do some house cleaning anyway. The automation is cool, but the CloudInit hack of intercepting the installer and injecting keystrokes just seemed really kludgy to me, sensitive to getting delays right and other frailties, when I learned that's how it works. My spidey sense is that automated NixOS VM creation would be way more robust, but I'm a toddler noob at Nix right now so I'll look into that down the road.

lzwvskk
Автор

This is cool! I have always just used Templates + Install Scripts but this is a cool way to do it!

liquidlar
Автор

Hey, first of all, great video. You have packed up lots of info in this video. As a new packer user I had to deal with the plugin installation which was not a part of the video but I can understand that we cannot go over everything and we need to make hard choices in order to simplify the content. For those who had error messages about unknown source, you need to define the plugin to be used and then initialize packer in order to install that plugin :)

TheJoBlackos
Автор

I discovered you recently. In general, you are explaining such nice tricks to a person who does not know the subject :) Congratulations, I wish you continued success . Bravo

mustafasinankoca
Автор

Looking forward to a Packer + Terraform video. I'd also be interested to see how Packer (and Terraform) could work with LXD too. Proxmox is great but, as everyone knows, it requires a Debian base, whereas the snap version of LXD will run on just about any arch or distro and also provides both VM and CT instances with clustering features. It's just missing a standard web GUI like Proxmox.

MarkConstable
Автор

I love your content Christian! Great tutorials! Thanks for all the hard work!

gardnerjp
Автор

Thanks! Use Proxmos around 10 years. Packer thats I need many years ago!!!

KonstantinGontsov
Автор

Man, you helped me a lot with some use cases for a task that I have. Thank you so much and keeping do it. Great video and very good explanation!!

BrunoAlves-jntj
Автор

You sir, are a goldmine of information!!!

lukaspechar
Автор

I just watched @Techno Tim's video on this very topic. So cool to get 2 different perspectives on the same topic within literally days of each other. Thank you!! 😁

nathanielmoore
Автор

Great tutorial. Very clear and easy to follow.

joel-eqtq
Автор

Thanks you 4 helpful video and tutorial! Also you have a perfect pronunciation, that awesome 4 me as foreign listener! :)

nikitakunaev
Автор

This is really great content!! I am just getting started with Proxmox and this is very helpful

chrissenanayake
Автор

SO COOL! interested in how this would interact with Terraform. Thank you for the video!

itsrm_Highlights
Автор

Christian. Excellet video again. Tomorrow, I will go and follow your next video in the series - Terraform with Proxmox VM creation (cloning). Thanks.

MrNoBSgiven
Автор

Fantastic! Excellent addition to youtube 👌⭐️

DamjanKumin
Автор

This was a great video btw! Many thanks for the high level explanation

murtadha
Автор

Very good video! Easy to follow and important details.

chfmrf