From 065c785706f8cc2d75521d76c6c4cd605602c0dd Mon Sep 17 00:00:00 2001 From: Ngairangbam Mili Date: Mon, 25 Nov 2024 07:20:47 +0000 Subject: [PATCH] virtctl commands not in local path for kubevirt-app Change-Id: I666d95e9b49a311c90d68bfd26d0a8bcf65eca54 Signed-off-by: Ngairangbam Mili --- .../create-a-windows-vm-82957181df02.rst | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/source/kube-virt/create-a-windows-vm-82957181df02.rst b/doc/source/kube-virt/create-a-windows-vm-82957181df02.rst index 5dba2820b..257cdb528 100644 --- a/doc/source/kube-virt/create-a-windows-vm-82957181df02.rst +++ b/doc/source/kube-virt/create-a-windows-vm-82957181df02.rst @@ -118,13 +118,32 @@ network. Finally, RDP to the |VM| from a remote workstation. name: stx-lab-winserv-test-disk EOF +#. Setup the `virtctl` client executable to be accessible from sysadmin's path. + + .. code-block:: bash + + # Create /home/sysadmin/bin directory, if it doesn't exist already + $ mkdir -p /home/sysadmin/bin + + # Create symbolic link in /home/sysadmin/bin to virtctl client executable installed on host in step 2) + $ cd /home/sysadmin/bin + $ ln -s /var/opt/kubevirt/virtctl virtctl + + # Logout and log back in to ensure that /home/sysadmin/bin gets added to your PATH variable. + $ exit + + login: sysadmin + password: + + $ which virtctl + /home/sysadmin/bin/virtctl + #. Apply the configuration. .. code-block:: $ kubectl apply -f stx-lab-winserv-test-vm.yaml - #. Connect to the graphical console, extend the root disk, and configure the |VM|'s interface on the 10.10.186.0/24 network.