Skip to content

Commit

Permalink
Merge pull request #1094 from aslanvyos/patch-1
Browse files Browse the repository at this point in the history
Update libvirt.rst
  • Loading branch information
rebortg committed Sep 25, 2023
2 parents 7727775 + 3b7c616 commit 2349764
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions docs/installation/virtual/libvirt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ the virtual network (type Virtio) created by the hypervisor with NAT.
--ram 4096 \
--vcpus 2 \
--cdrom /var/lib/libvirt/images/vyos.iso \
--os-type linux \
--os-variant debian10 \
--network network=default \
--graphics vnc \
Expand Down Expand Up @@ -68,7 +67,6 @@ Create VM with ``import`` qcow2 disk option.
$ virt-install -n vyos_r2 \
--ram 4096 \
--vcpus 2 \
--os-type linux \
--os-variant debian10 \
--network network=default \
--graphics vnc \
Expand All @@ -92,6 +90,29 @@ Connect to VM with command ``virsh console vyos_r2``
vyos@vyos:~$
If your can not go to this screen

.. code-block:: none
vyos login: vyos
Password:
Stayed in this stage. This is because the KVM console is chosen as the default boot option.

.. code-block:: none
Connected to domain vyos_r2
Escape character is ^]
Open a secondary/parallel session and use this command to reboot the VM:

.. code-block:: none
$ virsh reboot vyos_r2
Then go to the first session where you opened the console.
Select ``VyOS 1.3.x for QEMU (Serial console)`` and press ``Enter``

The system is fully operational.

Virt-manager
Expand Down

0 comments on commit 2349764

Please sign in to comment.