I have installed ubuntu server on my home server and libvirt/virsh. But what should I use to create a vm in the best way from the command line?

Ubuntu suggests multipass, uvtool or virt-install.

Any suggestions on best practice?

#AskFedi #selfhosting #tech #virtualization #ubuntu

Follow

@samuel on DFRI machines we mostly use virt-install. You can either (easiest to start with) make it start a debian installer that you manually go through, or (better) do something more automated by first running virt-builder and virt-sysprep and then supplying the resulting file as input to virt-install so that you donät need to manually go through the debian installer. It's really good if you can make it all automated, have a VM creation script that you can run without anything interactive.

@eliasr awesome! This seems to be what I aim for! I just also read about cloud images. Thanks!

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml