diff --git a/3.New_server_deployment/1.Download_envsetup_config/0_setup.sh b/3.New_server_deployment/1.Download_envsetup_config/0_setup.sh index c19ee5c13ba30f2df5e7bab31c69d56a5c6a2b70..33bb0a9d20fdf6cbff07ef3140e4cc4f8bdb4f17 100755 --- a/3.New_server_deployment/1.Download_envsetup_config/0_setup.sh +++ b/3.New_server_deployment/1.Download_envsetup_config/0_setup.sh @@ -1,6 +1,9 @@ #!/bin/bash source /root/envsetup/global-conf.sh +apt-get update +apt-get install -y -o Dpkg::Options::="--force-confold" curl + # Download config file from skyreach if ( ! test -z ${SKYREACH_API_KEY} ); then conf_url="https://$SKYREACH_HOST/erp/credentials/$SKYREACH_API_KEY/conf.sh" diff --git a/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh b/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh index 197aaeb9e7f5c48a91f58f7f6f00ad12ae648db5..e8d7a231549eb391eabcf0b43c376a25f23aa6dd 100755 --- a/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh +++ b/3.New_server_deployment/2.Fill_empty_conf/0_setup.sh @@ -1,6 +1,9 @@ #!/bin/bash source /root/envsetup/global-conf.sh +apt-get update +apt-get install -y -o Dpkg::Options::="--force-confold" pwgen + # Autogenerate missing values if [ "${MS_ID}" = "" ]; then MS_ID=$(echo "$(hostname)_msuser")