diff --git a/doc/source/_includes/installation-66477d7646db.rest b/doc/source/_includes/installation-66477d7646db.rest new file mode 100644 index 000000000..be9e1f785 --- /dev/null +++ b/doc/source/_includes/installation-66477d7646db.rest @@ -0,0 +1,2 @@ +.. kubevirt-app-version-begin +.. kubevirt-app-version-end \ No newline at end of file diff --git a/doc/source/kube-virt/installation-66477d7646db.rst b/doc/source/kube-virt/installation-66477d7646db.rst index 059007bd2..dfc1e2fd6 100644 --- a/doc/source/kube-virt/installation-66477d7646db.rst +++ b/doc/source/kube-virt/installation-66477d7646db.rst @@ -11,12 +11,19 @@ Complete the following steps to install KubeVirt. #. Upload the KubeVirt system application tarball and check the KubeVirt application status: - .. code-block:: none + .. only:: starlingx - ~(keystone_admin)$ system application-upload /usr/local/share/application/helm/kubevirt-app-1.0-1.tgz + .. code-block:: none - ~(keystone_admin)$ system application-list + ~(keystone_admin)$ system application-upload /usr/local/share/applications/helm/kubevirt-app-1.0-1.tgz + ~(keystone_admin)$ system application-list + + .. only:: partner + + .. include:: /_includes/installation-66477d7646db.rest + :start-after: kubevirt-app-version + :end-before: kubevirt-app-version #. Apply the KubeVirt system application and check the KubeVirt and |CDI| status: @@ -30,10 +37,10 @@ Complete the following steps to install KubeVirt. .. code-block:: bash $ watch -n 5 system application-list - + # Wait for all pods in kubevirt namespace to be Running $ watch -n 5 kubectl get pods -n kubevirt - + # Wait for all pods in cdi namespace to be Running $ watch -n 5 kubectl get pods -n cdi @@ -43,17 +50,17 @@ Complete the following steps to install KubeVirt. # 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-v0.53.1-linux-amd64 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 diff --git a/doc/source/kube-virt/set-up-remote-management-of-vms-a082461d660e.rst b/doc/source/kube-virt/set-up-remote-management-of-vms-a082461d660e.rst index c7fa03065..c416a7993 100644 --- a/doc/source/kube-virt/set-up-remote-management-of-vms-a082461d660e.rst +++ b/doc/source/kube-virt/set-up-remote-management-of-vms-a082461d660e.rst @@ -30,8 +30,8 @@ On the remote workstation, install virtctl client tool. .. code-block:: $ export VERSION=v0.53.1 - $ wget https://github.com/kubevirt/kubevirt/releases/download/ - $ ${VERSION}/virtctl-${VERSION}-linux-amd64 chmod a+x ./virtctl-${VERSION}-linux-amd64 + $ wget https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/virtctl-${VERSION}-linux-amd64 + $ chmod a+x ./virtctl-${VERSION}-linux-amd64 $ sudo cp ./virtctl-${VERSION}-linux-amd64 /usr/bin/virtctl @@ -45,4 +45,3 @@ graphical console. $ sudo apt -y install virt-viewer - diff --git a/doc/source/shared/_includes/install-kubectl-and-helm-clients-directly-on-a-host-6383c5f2b484.rest b/doc/source/shared/_includes/install-kubectl-and-helm-clients-directly-on-a-host-6383c5f2b484.rest index 5757aeaff..f4992181d 100644 --- a/doc/source/shared/_includes/install-kubectl-and-helm-clients-directly-on-a-host-6383c5f2b484.rest +++ b/doc/source/shared/_includes/install-kubectl-and-helm-clients-directly-on-a-host-6383c5f2b484.rest @@ -140,4 +140,3 @@ .. end-install-proc -