virtctl commands not in local path for kubevirt-app
Change-Id: I666d95e9b49a311c90d68bfd26d0a8bcf65eca54 Signed-off-by: Ngairangbam Mili <ngairangbam.mili@windriver.com>
This commit is contained in:
parent
d8ebebe083
commit
065c785706
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user