summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-04-07 06:41:40 -0400
committerTim Rozet <trozet@redhat.com>2017-04-26 10:25:03 -0400
commitd81cd2087be5edf5d2c0d98ad71a63360ae8511f (patch)
treefba03b067f3c8e0ec5a1df3a81671dcfba4f0958 /lib
parent58f6327a3d52e9e84827cd4720fc8cb16fe0627b (diff)
Fixing zrpcd is not starting
JIRA: APEX-437 JIRA: APEX-448 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Change-Id: I91c1b3bef83c808166072e00c751d8fac3565b5f
Diffstat (limited to 'lib')
-rwxr-xr-xlib/overcloud-deploy-functions.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 9b27bfa1..d579dc7e 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -122,12 +122,11 @@ EOI
if [ "${deploy_options_array['vpn']}" == 'True' ]; then
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
+ LIBGUESTFS_BACKEND=direct virt-customize \
+ --run-command "cd /root/quagga; packages=\\\$(ls |grep -vE 'debuginfo|devel|contrib'); yum -y install \\\$packages" \
+ --run-command "sudo usermod -a -G quaggavt quagga" \
+ --run-command "systemctl enable zrpcd" \
+ -a overcloud-full.qcow2
EOI
fi