Skip to content

Commit 23a932b

Browse files
authored
Revise command formats and examples in systemvm.rst
Updated SSH and decryption command formats and examples in the admin guide.
1 parent 54f16ea commit 23a932b

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

source/adminguide/systemvm.rst

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,17 @@ System VMs running on ESXi, the key is stored on the management server at
195195

196196
#. ESXi users should SSH to the private IP address of the System VM.
197197

198-
Format: ``ssh -i <path-to-private-key> <vm-private-ip> -p 3922``
198+
Format:
199199

200-
Example: ``root@management:~# ssh -i ~cloud/.ssh/id_rsa 172.16.0.250 -p 3922``
200+
.. code:: bash
201+
202+
ssh -i <path-to-private-key> <vm-private-ip> -p 3922
203+
204+
Example:
205+
206+
.. code:: bash
207+
208+
root@management:~# ssh -i ~cloud/.ssh/id_rsa 172.16.0.250 -p 3922
201209
202210
203211
Option B: Accessing via the Web Console
@@ -251,12 +259,20 @@ To step up the security of the environment, by configuring the ``system.vm.rando
251259

252260
#. Decrypt the password with the obtained key from the Management Server.
253261

254-
Format: ``java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar \
255-
com.cloud.utils.crypt.EncryptionCLI -p <encryption-key> -i <encrypted-password> -d -e V2``
262+
Format:
263+
264+
.. code:: bash
265+
266+
java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar \
267+
com.cloud.utils.crypt.EncryptionCLI -p <encryption-key> -i <encrypted-password> -d -e V2
268+
269+
Example:
270+
271+
.. code:: bash
256272
257-
Example: ``root@management:~# java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar \
258-
com.cloud.utils.crypt.EncryptionCLI -p `cat /etc/cloudstack/management/key` -i `cmk listconfigurations \
259-
name=system.vm.password | jq -r '.configuration[0].value'` -d -e V2``
273+
root@management:~# java -classpath /usr/share/cloudstack-common/lib/cloudstack-utils.jar \
274+
com.cloud.utils.crypt.EncryptionCLI -p `cat /etc/cloudstack/management/key` -i `cmk listconfigurations \
275+
name=system.vm.password | jq -r '.configuration[0].value'` -d -e V2
260276
261277
262278
Multiple System VM Support for VMware

0 commit comments

Comments
 (0)