]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Getting Started: Add configuration info for the metadata server
authorZane Bitter <zbitter@redhat.com>
Mon, 13 Aug 2012 11:54:52 +0000 (13:54 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 13 Aug 2012 16:32:57 +0000 (18:32 +0200)
Change-Id: Ie99bfd1c5e7bcaedd7757872d7d618d2cf29b137
Signed-off-by: Zane Bitter <zbitter@redhat.com>
docs/GettingStarted.rst

index eca44648cb4c261868677069152470dc70fd2a44..a507a8c795c503696ee1e4b53ffbc95a48f1a825 100644 (file)
@@ -38,6 +38,7 @@ If you use this method, you will need to manually create a guest network.  How t
 
 ..
     SUBNET=10.0.0.0/24
+    BIND_IP=10.0.0.1
 
 ::
 
@@ -86,6 +87,15 @@ In the heat directory, run the install script::
 
     sudo ./install.sh
 
+Configure the Metadata server
+-----------------------------
+
+The Heat Metadata server must be configured to bind to the IP address of the host machine on the Nova network created above (`demonetbr0`). This allows the launched instances to access the metadata server.
+
+Edit the file `/etc/heat/heat-metadata.conf` to change the `bind_host` value from the default `0.0.0.0` to the correct IP address::
+
+    sudo sed -i -e "/^bind_host *=/ s/0\.0\.0\.0/${BIND_IP}/" /etc/heat/heat-metadata.conf
+
 Download Fedora 16 DVD and copy it to libvirt images location
 -------------------------------------------------------------