

Ubuntu 22.04 Installation: Installing OpenSSH Server So when I was asked to configure the network, I entered those details manually: And I wanted my VM to have the static IP 192.168.1.61. Or you could get more information like this ( but it would require installing an additional package libosinfo-bin): apt install libosinfo-binįor detailed help on virt-install run: man virt-installĪlso, you could find this discussion on virt-install usage useful.Īfter you’ve started virt-install, it could be that the installer will not be able to configure the network automatically. For the full list of supported values, run:

So the name vm61 will correspond to the IP 192.168.1.61) (normally I name VMs after their static IP addresses. -name – is the name of the virtual machine (VM).location /var/lib/libvirt/images/ubuntu-22.04.1-live-server-amd64.iso,kernel=casper/vmlinuz,initrd=casper/initrd \ Run in the terminal: sudo virt-install -name vm61 \ Now you can unmount your mount point: umount /mnt 2. Write down the paths/names of these 2 files.


You’ll need it in the initrd option in section 2. You’ll need it in the kernel option of the command virt-install in section 2. To find them: Mount the downloaded iso image to a directory: mount /var/lib/libvirt/images/ubuntu-22.04.1-live-server-amd64.iso /mntĪnd then check the contents of the directory /mnt. Please notice: You’ll need 2 options for the virt-install command below: kernel and initrd.
