summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-03-27 19:07:10 +0200
committerTim Rozet <trozet@redhat.com>2017-03-28 01:58:07 +0000
commitf0798098fc123975f8319a0a1dbe1d16edaa7de3 (patch)
tree76e80e6b36bce5059afb2ab70bad28017c1e5fb1 /lib
parent33828db100ef502c8ef4eb66380d10a83a08d182 (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> (cherry picked from commit 7dcaaf6f8f7af379124c65f3a19f4890064fa97c)
Diffstat (limited to 'lib')
-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