summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-03-28 04:46:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-28 04:46:30 +0000
commit8d22b800fe8d26748abc35f59c034936624a29b3 (patch)
treebf1bc4efe0c70a42c1b39c55d46e62c2556eccfa
parentc056642b88365a0b328aa7646cbd9bdb3ae35fc1 (diff)
parentf0798098fc123975f8319a0a1dbe1d16edaa7de3 (diff)
Merge "Fix quagga user and dirs" into stable/danube
-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 496c85fb..37e8229b 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -121,6 +121,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