Spin VMs quickly with KVM + virt-sysprep
-
I know maybe many already know this, but I like it.
So the plan is instead of cloud-init that is made for the cloud naturally if you have standalone KVM, you can install Ubuntu OS and keep it light and up-to-date, then shut it down and make clones + sysprep them and thats it. Also you can use it to install pkg or run command but it is not feature rich as much as cloud init
-
I usually use virt-builder to build the image, and then I can clone from that. Then you have nice really small images to build from.
-
@stacksofplates said in Spin VMs quickly with KVM + virt-sysprep:
I usually use virt-builder to build the image, and then I can clone from that. Then you have nice really small images to build from.
Have you ever created your own repo using
virt-builder-repository
? -
@black3dynamite said in Spin VMs quickly with KVM + virt-sysprep:
@stacksofplates said in Spin VMs quickly with KVM + virt-sysprep:
I usually use virt-builder to build the image, and then I can clone from that. Then you have nice really small images to build from.
Have you ever created your own repo using
virt-builder-repository
?No I've always pulled from upstream. I've honestly never looked into that before.