summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoraslanvyos <126803786+aslanvyos@users.noreply.github.com>2023-09-26 14:39:32 +0400
committerGitHub <noreply@github.com>2023-09-26 14:39:32 +0400
commited603d68d88e0d751eb2d19a798591a86f0ecd34 (patch)
tree5f770630bf7270fda4e265f2249991b23d8db4ef /docs
parent0e483210add114d28a38272f4bdc2ec11ff7b55e (diff)
downloadvyos-documentation-ed603d68d88e0d751eb2d19a798591a86f0ecd34.tar.gz
vyos-documentation-ed603d68d88e0d751eb2d19a798591a86f0ecd34.zip
Update libvirt.rst
1. In the new version of Libvirt this --os-type is deprecated. When we put this option we get this message "WARNING --os-type is deprecated and does nothing. Please stop using it." 2. Some ques OS KVM console is chosen as the default boot option and when we enter the console console hangs. For this reason, we need to reboot and select Serial console.
Diffstat (limited to 'docs')
-rw-r--r--docs/installation/virtual/libvirt.rst25
1 files changed, 23 insertions, 2 deletions
diff --git a/docs/installation/virtual/libvirt.rst b/docs/installation/virtual/libvirt.rst
index 09d2cfed..5bc16273 100644
--- a/docs/installation/virtual/libvirt.rst
+++ b/docs/installation/virtual/libvirt.rst
@@ -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 \
@@ -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 \
@@ -92,6 +90,29 @@ Connect to VM with command ``virsh console vyos_r2``
vyos@vyos:~$
+If you 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.4.x for QEMU (Serial console)`` and press ``Enter``
+
The system is fully operational.
Virt-manager