Cloudinit issue

Jun 23, 2022
18
0
6
Hi guys
today I have installed cloudinit on a single node installation with zfs.
I have set for the storage of the cloudinit disk the zfs pool.
after try some vm with cloudinit for the update of the kernel I reboot the hypervisor.
At the startup proxom has changed hostname and ssh key with one of a cloudinit driver and the configure mount dont work any more, /etc/pve direcory was empty.
Cloudinit tell me that the system was started with the configuration find on a z device.
Now I reinstalled the system and restore the vm/ct from backup but I want tounderstand because that is appen and for help someones with the same issue.
bye
 
You seem to be confused about what Cloudnit does and where it goes. You do not install CloudInit on your hypervisor. In fact, don't install it on an existing live VM or bare metal node, unless you really know what you are doing and what you want to achieve.

CloudInit is a technology that allows you to spin up _new_ instances in the Cloud. Examples of the Cloud are AWS, Openstack, PVE, ESXi, etc.
So in your case you could use Cloudinit to customize new VMs that are being created in your "PVE single-node Cloud".

Think of Cloud-init as a factory assembly machine. It's designed for customizing brand-new cars as they're being built. However, if you try to push an already assembled car through the machine, it will damage or destroy the car.

Good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!