nova changes for multinode working under -o errexit

There was a stray inicomment on paste outside of a nova-api block. This
fails under -o errexit because the paste.ini doesn't exist.

Move this to inside the correct block.

Change-Id: Iffbdae6716a1c2a8f650b68edd4faf436434eab1
This commit is contained in:
Sean Dague 2014-02-28 19:53:50 -05:00
parent 9bd5b9399a
commit 12cb2299e8

View File

@ -245,10 +245,9 @@ function configure_nova {
inicomment $NOVA_API_PASTE_INI filter:authtoken cafile
inicomment $NOVA_API_PASTE_INI filter:authtoken admin_user
inicomment $NOVA_API_PASTE_INI filter:authtoken admin_password
inicomment $NOVA_API_PASTE_INI filter:authtoken signing_dir
fi
inicomment $NOVA_API_PASTE_INI filter:authtoken signing_dir
if is_service_enabled n-cpu; then
# Force IP forwarding on, just on case
sudo sysctl -w net.ipv4.ip_forward=1