diff options
author | Tim Rozet <trozet@redhat.com> | 2017-03-28 04:46:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-28 04:46:30 +0000 |
commit | 8d22b800fe8d26748abc35f59c034936624a29b3 (patch) | |
tree | bf1bc4efe0c70a42c1b39c55d46e62c2556eccfa | |
parent | c056642b88365a0b328aa7646cbd9bdb3ae35fc1 (diff) | |
parent | f0798098fc123975f8319a0a1dbe1d16edaa7de3 (diff) |
Merge "Fix quagga user and dirs" into stable/danube
-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 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 |