Difference between revisions of "Virtual Machine (KVM)"

Jump to navigation Jump to search
→‎Create Server (no GUI): Added "Eject CD-ROM"
m (→‎Create Workstation (GUI): Added note on cancelling he command)
(→‎Create Server (no GUI): Added "Eject CD-ROM")
Line 62: Line 62:


You should be presented with the console of the VM as it installs, however if you lose connection etc, connect to the console of the server using <code>virsh console <server-name></code>.  Make sure you set a static IP and install SSH during setup (select '''OpenSSH server''' during ''Software selection'' section). Once installation is completed, SSH to the server and setup normal console access (as the instructions in the section below).  Its highly recommended that you follow the steps below to ensure that Console access is available via the KVM host if needed.
You should be presented with the console of the VM as it installs, however if you lose connection etc, connect to the console of the server using <code>virsh console <server-name></code>.  Make sure you set a static IP and install SSH during setup (select '''OpenSSH server''' during ''Software selection'' section). Once installation is completed, SSH to the server and setup normal console access (as the instructions in the section below).  Its highly recommended that you follow the steps below to ensure that Console access is available via the KVM host if needed.
==== Eject CD-ROM ====
If you need to eject the CD-ROM towards the end o the installation process, first identify the disk target name (eg hda, hdb, etc) then eject
virsh edit server-name
virsh change-media server-name hda --eject


==== Console Access ====
==== Console Access ====

Navigation menu