Hi Folks,
[I'm running PVE 8.1.4]
I am trying to create an Ubuntu 24 base template where I can just spin up Ubuntu 24 VMs as I need them. My goal is to have two types of templates as follows:
1. Ubuntu 24 base template to spin up VMs
2. Create a Docker host VM template where I can spin up as many Docker host VMs as I want. Ideally this needs to be built on top of the #1.
I have followed two paths to accomplish #1 and did not get far as I got stuck. I could not even attempt #2 yet. Here are the two paths I followed:
Path 1: Create Ubuntu 24 template using Cloudimage and cloud-init
In order to create #1, I followed the path of using Ubuntu Cloud Image with cloud-init as described in this YouTube video: https://youtu.be/1Ec0Vg5be4s?si=0OfTB7ivY20MkjBX
The problem I'm running into is that when I follow all the steps to the tee, my cloned VM does not start. I see the UEFI Shell instead. I checked the boot order and it seems like it is set properly, to boot from the RAW hard disk. See the attached screenshot.
I have tried several permutations and could not get this to work.
Path 2: Create Ubuntu 24 Template from a complete server ISO install
Another path I tried is to crate an Ubuntu VM template by creating a VM, installing Ubuntu and then converting it into template. These steps are described in the following video: https://youtu.be/8hW6cKNcWdU?si=IK9bUngibaJkLufr
The video is very basic and walks through various steps. It then converts the VM to template, attaches cloud-init drive and then talks about cloud-init configuration. You then clone from the template as needed to spin up an ubuntu instance.
The issue I ran into from this setup is that the cloned VM failed to start the network. I could see that it had the ethernet adapter and all, but get stuck at boot time waiting to start network service. The cloud-init does kick in, but since the network is not there, it could not do much besides basic stuff. When I created the VM for template, it worked beautifully and had the network conectivity.
I have spend 6+ hours to troubleshoot this and decided to seek help here.
Thanks in advance!
[I'm running PVE 8.1.4]
I am trying to create an Ubuntu 24 base template where I can just spin up Ubuntu 24 VMs as I need them. My goal is to have two types of templates as follows:
1. Ubuntu 24 base template to spin up VMs
2. Create a Docker host VM template where I can spin up as many Docker host VMs as I want. Ideally this needs to be built on top of the #1.
I have followed two paths to accomplish #1 and did not get far as I got stuck. I could not even attempt #2 yet. Here are the two paths I followed:
Path 1: Create Ubuntu 24 template using Cloudimage and cloud-init
In order to create #1, I followed the path of using Ubuntu Cloud Image with cloud-init as described in this YouTube video: https://youtu.be/1Ec0Vg5be4s?si=0OfTB7ivY20MkjBX
The problem I'm running into is that when I follow all the steps to the tee, my cloned VM does not start. I see the UEFI Shell instead. I checked the boot order and it seems like it is set properly, to boot from the RAW hard disk. See the attached screenshot.
I have tried several permutations and could not get this to work.
Path 2: Create Ubuntu 24 Template from a complete server ISO install
Another path I tried is to crate an Ubuntu VM template by creating a VM, installing Ubuntu and then converting it into template. These steps are described in the following video: https://youtu.be/8hW6cKNcWdU?si=IK9bUngibaJkLufr
The video is very basic and walks through various steps. It then converts the VM to template, attaches cloud-init drive and then talks about cloud-init configuration. You then clone from the template as needed to spin up an ubuntu instance.
The issue I ran into from this setup is that the cloned VM failed to start the network. I could see that it had the ethernet adapter and all, but get stuck at boot time waiting to start network service. The cloud-init does kick in, but since the network is not there, it could not do much besides basic stuff. When I created the VM for template, it worked beautifully and had the network conectivity.
I have spend 6+ hours to troubleshoot this and decided to seek help here.
Thanks in advance!