Sergey Kraynev 9bed165c30 Fix shellcheck errors for LBaaS apps
Current patch fixes shell issues in LBaaS apps reported by test run:
tox -e shellcheck
All LB related scripts were fixed according command output.

Change-Id: Ia24f2ba25d7818cb05d064a9fc7f5f4617f714d8
2016-08-01 15:12:45 +03:00

16 lines
524 B
Bash
Executable File

#!/bin/bash
# Fail script if an error occurs.
set -e
# TODO(nmakhotkin): It should be removed in the future after fixing the bug:
# TODO(nmakhotkin): https://bugs.launchpad.net/murano/+bug/1561522
# TODO(nmakhotkin): Here should be used pure tar.gz archive instead of base64-encoded.
base64 --decode f5-lbaas-driver.tar.gz.bs64 > f5-lbaas-driver.tar.gz
# Installing LBaaS API.
sudo pip install f5-lbaas-driver.tar.gz
# Adding a new config section to main config.
cat f5-lbaas-append.conf.sample >> /etc/lbaas/lbaas.conf