From 0a0308322057c7ddf88ea912a19d51d4497e8393 Mon Sep 17 00:00:00 2001 From: rajiesh Date: Wed, 19 Jun 2019 10:45:11 +0530 Subject: [PATCH] Install sysvinit tools in centos 7 image --- provision/provision-centos.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/provision/provision-centos.sh b/provision/provision-centos.sh index facb9bf..d10736b 100755 --- a/provision/provision-centos.sh +++ b/provision/provision-centos.sh @@ -87,6 +87,10 @@ function install_jdk12() { try su - ${PRIMARY_USER} -c "jabba install openjdk@1.12" } +function install_sysvinit_tools() { + try yum install --assumeyes sysvinit-tools +} + function install_native_build_packages() { try yum install --assumeyes \ libxml2-devel libxslt-devel \ @@ -366,6 +370,7 @@ install_maven install_ant install_awscli install_postgresql +install_sysvinit_tools if [ "$CENTOS_MAJOR_VERSION" == "7" ]; then install_geckodriver