diff options
author | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2017-03-27 19:07:10 +0200 |
---|---|---|
committer | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2017-03-27 19:07:10 +0200 |
commit | 7dcaaf6f8f7af379124c65f3a19f4890064fa97c (patch) | |
tree | 76e80e6b36bce5059afb2ab70bad28017c1e5fb1 /lib/overcloud-deploy-functions.sh | |
parent | 7d6129c6ce008c9ea9cc73c5e2a0f0062050d48a (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>
Diffstat (limited to 'lib/overcloud-deploy-functions.sh')
-rwxr-xr-x | lib/overcloud-deploy-functions.sh | 3 |
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 |