To install a VM from command line, you can use the following command. Change the required parameters as need but you need to change at-least CDROM iso image and disk-path. virt-install \ -n myVM \ --description "Test VM" \ --os-type=Linux \ --os-variant=centos7 \ --ram=2048 \ --vcpus=2 \ --disk path=./myVM.img,bus=virtio,size=10 \ --graphics none \ --cdrom <Image … Continue reading "Install virtual machines in one line"Image may be NSFW.
Clik here to view.
Clik here to view.
