When the man pages' reST is built using Sphinx, “bash” must be used
instead of “Bash”. Pandoc works with both.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Run a command on a list of hosts:
-.. code-block:: Bash
+.. code-block:: bash
listrunner -l logdir -c "uname -a" -h host1,host2,host3
Upload a script, some auxiliary files and run the script:
-.. code-block:: Bash
+.. code-block:: bash
listrunner -l logdir -x runme.sh \
-a seed.dat -a golden.dat \
For the ``dhcp`` parameter given as example above, a verification
script could be:
-.. code-block:: Bash
+.. code-block:: bash
#!/bin/sh
changes on the instances after a rename, you can migrate the OS
definition to version 5 by creating the rename script simply as:
-.. code-block:: Bash
+.. code-block:: bash
#!/bin/sh
example after maintenance actions, or when you want to simulate the
reboot of all nodes, so in this case, you can remove all state files:
-.. code-block:: Bash
+.. code-block:: bash
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.data
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.instance-status
Example:
- .. code-block:: Bash
+ .. code-block:: bash
# Map the entire instance to CPUs 0-2
gnt-instance modify -H cpu_mask=0-2 my-inst