Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
[Trivial] docs: fix code blocks indentation
Browse files Browse the repository at this point in the history
For some code blocks, we have a superfluous 2-space indentation.
For this reason, the generated docs are quite inconsistent.

This change fixes this issue.

Change-Id: Ib37906f61875c17d32635f3b11937f429a7027fc
  • Loading branch information
petrutlucian94 committed Feb 15, 2018
1 parent f5d32fa commit f50f40f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions doc/source/configuration/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Driver configuration
In order to use the compute-hyperv Nova driver, the following configuration
option will have to be set in the ``nova.conf`` file:

.. code-block:: ini
.. code-block:: ini
[DEFAULT]
compute_driver = compute_hyperv.driver.HyperVDriver
And for Hyper-V Clusters, the following:

.. code-block:: ini
.. code-block:: ini
[DEFAULT]
compute_driver = compute_hyperv.cluster.driver.HyperVClusterDriver
Expand Down Expand Up @@ -54,14 +54,14 @@ Nova instance files location
By default, the OpenStack Hyper-V installer will configure ``nova-compute`` to
use the following path as the ``instances_path``:

.. code-block:: ini
.. code-block:: ini
[DEFAULT]
instances_path = C:\OpenStack\Instances
``instances_path`` can be set to an SMB share, mounted or unmounted:

.. code-block:: ini
.. code-block:: ini
[DEFAULT]
# in this case, X is a persistently mounted SMB share.
Expand All @@ -72,7 +72,7 @@ use the following path as the ``instances_path``:
Alternatively, CSVs can be used:

.. code-block:: ini
.. code-block:: ini
[DEFAULT]
instances_path = C:\ClusterStorage\Volume1\OpenStack\Instances
Expand Down Expand Up @@ -137,7 +137,7 @@ For live migrating virtual machines to hosts with different CPU features the
following configuration option must be set in the compute node's ``nova.conf``
file:

.. code-block:: ini
.. code-block:: ini
[hyperv]
limit_cpu_features = True
Expand Down
6 changes: 3 additions & 3 deletions doc/source/install/next-steps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ Neutron Server meets the following requirements:
* ``networking-hyperv`` installed. To check if ``networking-hyperv`` is
installed, run the following:

.. code-block:: bash
.. code-block:: bash
pip freeze | grep networking-hyperv
If there is no output, it can be installed by running the command:
.. code-block:: bash
.. code-block:: bash
pip install networking-hyperv==VERSION
Expand All @@ -79,7 +79,7 @@ Neutron Server meets the following requirements:
driver. The configuration option can be found in
``/etc/neutron/plugins/ml2/ml2_conf.ini``:

.. code-block:: ini
.. code-block:: ini
[ml2]
mechanism_drivers = openvswitch,hyperv
Expand Down
6 changes: 3 additions & 3 deletions doc/source/troubleshooting/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ How to restart a service on Hyper-V

Restarting a service on OpenStack can easily be done through Powershell:

.. code-block:: powershell
.. code-block:: powershell
Restart-Service service-name
or through cmd:

.. code-block:: bat
.. code-block:: bat
net stop service_name && net start service_name
For example, the following command will restart the iSCSI initiator service:

.. code-block:: powershell
.. code-block:: powershell
Restart-Service msiscsi

0 comments on commit f50f40f

Please sign in to comment.