Restart docker if mariadb fails to start 09/75409/1
authorjh7358 <jh7358@att.com>
Wed, 12 Dec 2018 22:10:03 +0000 (17:10 -0500)
committerJim Hahn <jrh3@att.com>
Mon, 7 Jan 2019 18:28:51 +0000 (18:28 +0000)
commit7d9c302a15a8b8e5c3357422ddbb503a212641de
tree3f791427fbcbf64f8f029216f6346f8217a3d9f4
parent7e66fd6105aa091add3536dd1158584a28d1676c
Restart docker if mariadb fails to start

Also modified script to use a different mechanism to get
the host IP (copied from CSIT setup.sh), one that should work
in developer VMs as well as in the Jenkins environment.

Change-Id: Ide454ff827ebd90f55b699f16e5f7f6eb40bd1d1
Issue-ID: POLICY-885
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit 582f11f6dc7b7237f18798ee646d762b29eb0f35)
scripts/policy/script1.sh