I have a project to create Debian VMs automatically on my Nutanix cluster (KVM based) with Terraform.
For this, I use the latest version of the Debian cloud image: https://cloud.debian.org/images/cloud/b ... 0124-1270/ = debian-11-generic-amd64-20230124-1270.qcow2
I created my VM with a cloud-init file in order to set up : my users, my keyboard, my language, my network...
But, I have several problems:
- Only users settings, server name setting, package installation works with my cloud-init file. Network settings, keyboard and my language doesn't change (My file works with Ubuntu)
- I also want to increase my disk space. But if I increase it and reboot my machine, it crashes on the error: If I want to avoid this, I have to increase partition before rebooting with fdisk which itself gives me errors when it opens:
Code: Select all
Kernel Offset: 0xa00000 from 0xffffffff81000000 (relocation range: 0xffffff80000000-0xffffffbfffff) end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000200
Code: Select all
Changes will remain in memory only, until you decide to write them. Be careful before using the write command. The old ext4 signature will be removed by a write command. Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x42d621c4.
Are there any known bugs? Is there a way to solve my problems.
Thank you in advance for your answers.
Have a good day