Is it possible to create an Alpine VM from an Alpine Container?
Because i am trying to increase /dev/sda2 space/size since the Alpine VM creates with alower space size ev2n after giving it a size: 50GB attribute in the profile.
But In Ubuntu VM when i change the size attribute its reflected but not the same behaviour with alpine.
So i thought of creating a regular container which is created with enough size which then i can create a VM by copy the Container into a VM.
Not easily. As containers don’t have their own kernel and VMs require this.
Rather than doing that it sounds like you need to resize the Alpine VM’s disk space.
Can you show me what you have done so far?
The reason the disk space resizes automatically for Ubuntu VMs is because they have cloud-init installed which detect when the VM’s disk is grown and then also grows the filesystem in response.
I just duplicated thedefault profile and added the size: 50GB attribute. Then i createdhe VM using this profile for both the Alpine VM and Ubuntu VM but the Alpine VM didnt create with this 50GB though.