]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Update getting started with credential crypto
authorTomas Sedovic <tomas@sedovic.cz>
Mon, 30 Jul 2012 15:56:44 +0000 (17:56 +0200)
committerTomas Sedovic <tomas@sedovic.cz>
Mon, 30 Jul 2012 16:02:07 +0000 (18:02 +0200)
We encrypt the sensitive information in the database now. This updates
the Getting Started guide to generate an encryption key.

Change-Id: I44a96302e736997a747f82c9d23006425396633f
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz>
docs/GettingStarted.rst

index 10f04216764ed585b7ae584c4f06d03f3e8a8e6e..0deede6cdcf93e95eb639f7d07a655739a87854e 100644 (file)
@@ -89,6 +89,7 @@ In the heat directory, run the install script::
     sudo install etc/*.conf etc/*.ini /etc/heat
     sudo install etc/bash_completion.d/heat /etc/bash_completion.d/heat
     sudo install -d /var/log/heat
+    sudo sed --in-place -e s/%ENCRYPTION_KEY%/`hexdump -n 16 -v -e '/1 "%02x"' /dev/random`/ /etc/heat/heat-engine.conf
 
 Download Fedora 16 DVD and copy it to libvirt images location
 -------------------------------------------------------------