Skip to content

Commit

Permalink
Merge "Docs: Remove double reference to copying answers file during i…
Browse files Browse the repository at this point in the history
…nstallation"
  • Loading branch information
slagle authored and gerritforge-ltd committed May 7, 2015
2 parents 94d0b58 + 4b04847 commit 40b81d1
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions doc/source/installation/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,23 @@ Installing the Undercloud

su - stack

.. admonition:: Baremetal
:class: baremetal

.. note:: Ensure that there is a FQDN hostname set and that the $HOSTNAME
environment variable matches that value.
.. admonition:: Baremetal
:class: baremetal

Use ``hostnamectl`` to set a hostname if needed::
Ensure that there is a FQDN hostname set and that the $HOSTNAME environment
variable matches that value.

sudo hostnamectl set-hostname myhost.mydomain
sudo hostnamectl set-hostname --transient myhost.mydomain
export HOSTNAME=myhost.mydomain
An entry for the system's FQDN hostname is also needed in /etc/hosts.
For example, if the system is named *myhost.mydomain*, /etc/hosts should have
an entry like::
Use ``hostnamectl`` to set a hostname if needed::

127.0.0.1 myhost.mydomain
sudo hostnamectl set-hostname myhost.mydomain
sudo hostnamectl set-hostname --transient myhost.mydomain
export HOSTNAME=myhost.mydomain

Copy in the sample answers file and edit it to reflect your environment::
An entry for the system's FQDN hostname is also needed in /etc/hosts. For
example, if the system is named *myhost.mydomain*, /etc/hosts should have
an entry like::

cp /usr/share/instack-undercloud/instack.answers.sample ~/instack.answers
127.0.0.1 myhost.mydomain


#. Download and execute the instack-undercloud setup script which will enable
Expand Down

0 comments on commit 40b81d1

Please sign in to comment.