console pty,target_type=virtio -disk appliance.qcow2 -boot hdīehind the scenes, this is performing a number of additions to the "domain" (an XML file storing the configuration of the host). Since I already had a QCOW2 based appliance prepared, I was able to test this as follows: virt-install -name thing -memory 512 \ Note: You can get more options on available configurations here: In practice, this is added as follows (on a modern Linux system): -console pty,target_type=virtio Guests, and possibly target_type=virtio in the future). Out of the box text login can be provided (target_type=xen for xen paravirt Hypervisor combinations can automatically set up a getty in the guest, so an Instead you are looking for -console: console: -consoleĬonnect a text console between the guest and host. As you are working from a local qcow2 disk image, -location is not actually the mechanism you are looking for. extra-args can only be used in combination with -location. Yes, this is possible, though there are multiple steps to adding a serial console.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |