Fix prefix of stx-remote-cli-<version> tarball (dsR10,dsR10minor,r10)
Fix prefix.
Change-Id: I68b91a01faed64dd1ecc2af6438ef41d221f1ccc
Signed-off-by: Elisamara Aoki Gonçalves <elisamaraaoki.goncalves@windriver.com>
(cherry picked from commit 0ac6ac7dc3)
This commit is contained in:
@@ -16,7 +16,7 @@ This procedure should be performed on your Linux-based system.
|
||||
|
||||
- You need to have a Linux-based system with python installed.
|
||||
|
||||
- You need to have the ``stx-remote-access.tar`` file from your system administrator,
|
||||
- You need to have the |prefix|-remote-access.tar file from your system administrator,
|
||||
containing system information related to your |prod| system.
|
||||
|
||||
.. rubric:: |proc|
|
||||
@@ -45,27 +45,27 @@ This procedure should be performed on your Linux-based system.
|
||||
$ sudo pip install mechanize
|
||||
|
||||
#. Extract the |prod| system information from the
|
||||
``stx-remote-access-info.tar`` file from your |prod| system administrator.
|
||||
|prefix|-remote-access-info.tar file from your |prod| system administrator.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
# Files from your StarlingX System Administrator
|
||||
$ ls ~/stx-remote-access-info.tar
|
||||
$ ls ~/|prefix|-remote-access-info.tar
|
||||
|
||||
$ tar xvf ~/stx-remote-access-info.tar
|
||||
$ tar xvf ~/|prefix|-remote-access-info.tar
|
||||
|
||||
#. Update the ``KUBECONFIG`` file.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ mkdir ~/.kube
|
||||
$ cp ~/stx-remote-access-info/kubeconfig ~/.kube/config
|
||||
$ cp ~/|prefix|-remote-access-info/kubeconfig ~/.kube/config
|
||||
$ vi ~/.kube/config
|
||||
// and change YOURUSERNAMEHERE to your StarlingX LDAP Username, everywhere in file
|
||||
|
||||
# Add ~/stx-remote-access-info/stx.ca.crt to the list of Trusted CA
|
||||
# Add ~/|prefix|-remote-access-info/stx.ca.crt to the list of Trusted CA
|
||||
# e.g. commands shown for ubuntu below
|
||||
$ sudo cp ~/stx-remote-access-info/stx.ca.crt /usr/local/share/ca-certificates
|
||||
$ sudo cp ~/|prefix|-remote-access-info/stx.ca.crt /usr/local/share/ca-certificates
|
||||
$ sudo update-ca-certificates
|
||||
|
||||
# Authenticate with OIDC/LDAP on StarlingX ... and token will be put in ~/.kube/config
|
||||
|
||||
@@ -15,27 +15,28 @@ This procedure should be performed on your system that has a web browser.
|
||||
|
||||
- A system with a web browser.
|
||||
|
||||
- You need to have the ``stx-remote-access.tar`` file from your system administrator,
|
||||
containing system information related to your |prod| system.
|
||||
- You need to have the |prefix|-remote-access.tar file from your system
|
||||
administrator, containing system information related to your |prod| system.
|
||||
|
||||
.. rubric:: |proc|
|
||||
|
||||
#. Update your web browser to 'trust' the |prod| |CA| certificate.
|
||||
|
||||
#. Extract the files from the ``stx-remote-access-info.tar`` file
|
||||
#. Extract the files from the |prefix|-remote-access-info.tar file
|
||||
from your |prod| system administrator.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ cd ~
|
||||
$ tar xvf ./stx-remote-access-info.tar
|
||||
$ tar xvf ./|prefix|-remote-access-info.tar
|
||||
|
||||
# The StarlingX CA Certificate is here:
|
||||
$ ls ./stx-remote-access-info/stx.ca.crt
|
||||
$ ls ./|prefix|-remote-access-info/|prefix|.ca.crt
|
||||
|
||||
|
||||
#. Follow your web browser's instructions to add '~/stx-remote-access-info/stx.ca.crt'
|
||||
to the list of trusted CAs for your browser.
|
||||
#. Follow your web browser's instructions to add
|
||||
~/|prefix|-remote-access-info/stx.ca.crt to the list of trusted |CAs| for
|
||||
your browser.
|
||||
|
||||
#. Open your web browser at address ``https://<OAM-Floating-IP-Address>:8443``
|
||||
|
||||
|
||||
@@ -105,15 +105,15 @@ The following data needs to be collected:
|
||||
#. Package up the following files for a remote user to use when
|
||||
setting up his remote access on his system.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ cd ~
|
||||
$ tar cvf stx-remote-access-info.tar ./stx-remote-access-info
|
||||
$ tar cvf |prefix|-remote-access-info.tar ./stx-remote-access-info
|
||||
|
||||
.. rubric:: |postreq|
|
||||
|
||||
For any user requiring remote access:
|
||||
|
||||
- securely send them the ``stx-remote-access-info.tar`` file.
|
||||
- securely send them the |prefix|-remote-access-info.tar file.
|
||||
|
||||
- have them follow the procedures for setting up remote access. See :ref:`remote-access-2209661be417`.
|
||||
|
||||
@@ -18,8 +18,8 @@ This procedure should be performed on your Linux-based system.
|
||||
- You need to have a Linux-based system with python installed and either with
|
||||
Docker installed or 'sudo' capability to install Docker.
|
||||
|
||||
- You need to have the ``stx-remote-access.tar`` file from your system administrator,
|
||||
containing system information related to your |prod| system.
|
||||
- You need to have the |prefix|-remote-access.tar file from your system
|
||||
administrator, containing system information related to your |prod| system.
|
||||
|
||||
.. rubric:: |proc|
|
||||
|
||||
@@ -52,42 +52,42 @@ This procedure should be performed on your Linux-based system.
|
||||
|
||||
#. Download and extract the |prod| remote CLI tar file from the |prod| site.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ cd ~
|
||||
$ wget https://mirror.starlingx.cengn.ca/mirror/starlingx/master/debian/monolithic/latest_build/outputs/remote-cli/stx-remote-cli-1.0.tgz
|
||||
$ tar xvf stx-remote-cli-1.0.tgz
|
||||
$ tar xvf |prefix|-remote-cli-1.0.tgz
|
||||
|
||||
#. Extract the |prod| system information from the ``stx-remote-access-info.tar``
|
||||
#. Extract the |prod| system information from the |prefix|-remote-access-info.tar
|
||||
file from your |prod| system administrator.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
# Files from your StarlingX System Administrator
|
||||
$ ls ~/stx-remote-access-info.tar
|
||||
$ ls ~/|prefix|-remote-access-info.tar
|
||||
|
||||
$ cd ~/remote_cli
|
||||
$ tar xvf ~/stx-remote-access-info.tar
|
||||
$ tar xvf ~/|prefix|-remote-access-info.tar
|
||||
|
||||
#. Update the ``starlingxrc`` file.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ vi ~/remote_cli/stx-remote-access-info/starlingxrc
|
||||
$ vi ~/remote_cli/|prefix|-remote-access-info/starlingxrc
|
||||
// and change YOURUSERNAMEHERE to your StarlingX LDAP Username, everywhere in file
|
||||
|
||||
#. Update the ``KUBECONFIG`` file.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ vi ~/remote_cli/stx-remote-access-info/kubeconfig
|
||||
$ vi ~/remote_cli/|prefix|-remote-access-info/kubeconfig
|
||||
// and change YOURUSERNAMEHERE to your StarlingX LDAP Username, everywhere in file
|
||||
|
||||
#. Configure the containerized remote CLI clients.
|
||||
|
||||
.. code-block::
|
||||
.. parsed-literal::
|
||||
|
||||
$ ./configure_client.sh -t platform -r ${HOME}/remote_cli/stx-remote-access-info/starlingxrc -k ${HOME}/remote_cli/stx-remote-access-info/kubeconfig -w ${HOME}/remote_cli -p docker.io/starlingx/stx-platformclients:stx.9.0-v1.5.13
|
||||
$ ./configure_client.sh -t platform -r ${HOME}/remote_cli/|prefix|-remote-access-info/starlingxrc -k ${HOME}/remote_cli/|prefix|-remote-access-info/kubeconfig -w ${HOME}/remote_cli -p docker.io/starlingx/stx-platformclients:stx.9.0-v1.5.13
|
||||
|
||||
.. rubric:: |postreq|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user