summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-03-27 19:07:10 +0200
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-03-27 19:07:10 +0200
commit7dcaaf6f8f7af379124c65f3a19f4890064fa97c (patch)
tree76e80e6b36bce5059afb2ab70bad28017c1e5fb1
parent7d6129c6ce008c9ea9cc73c5e2a0f0062050d48a (diff)
Fix quagga user and dirs
The rpm spec of quagga still misses the correct user and dir setup for quagga. This is the jira to remove this later on: https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-130 Change-Id: I71885a6b177443f58d0c093833e76656eb83b428 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
-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 8f5b1a21..17e24cca 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