Merge "virtctl commands not in local path for kubevirt-app"

This commit is contained in:
Zuul 2024-11-26 09:43:30 +00:00 committed by Gerrit Code Review
commit fe992f549c

View File

@ -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.