diff options
author | Tim Rozet <trozet@redhat.com> | 2017-03-28 01:58:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-28 01:58:01 +0000 |
commit | 97de7b9e2bdcb63613c99b9db4d77ad125d410f0 (patch) | |
tree | 991ab4e39295f30570078eef1b3ca1d2d4c43e08 /lib | |
parent | 5108498adb2870581cc5a4bb99db693a05ff9c3b (diff) | |
parent | 7dcaaf6f8f7af379124c65f3a19f4890064fa97c (diff) |
Merge "Fix quagga user and dirs"
Diffstat (limited to 'lib')
-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 612f91e1..1dc819d7 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 |