summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-03-28 01:58:01 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-28 01:58:01 +0000
commit97de7b9e2bdcb63613c99b9db4d77ad125d410f0 (patch)
tree991ab4e39295f30570078eef1b3ca1d2d4c43e08
parent5108498adb2870581cc5a4bb99db693a05ff9c3b (diff)
parent7dcaaf6f8f7af379124c65f3a19f4890064fa97c (diff)
Merge "Fix quagga user and dirs"
-rwxr-xr-xlib/overcloud-deploy-functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 612f91e1..1dc819d7 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -112,6 +112,9 @@ EOI
echo -e "${blue}INFO: Enabling ZRPC and Quagga${reset}"
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum -y install /root/quagga/*.rpm" \
+ --run-command "sudo usermod -a -G quaggavt quagga" \
+ --run-command "sudo mkdir -p /var/run/quagga/" \
+ --run-command "sudo chown quagga:quagga -R /var/run/quagga/" \
--run-command "systemctl enable zrpcd" \
-a overcloud-full.qcow2
EOI