From ec0791004ade5a0cf486c133a493d5d9dd09a034 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Thu, 9 Feb 2017 17:56:45 +0100
Subject: [PATCH] Install missing dep.

---
 3.New_server_deployment/1.Download_envsetup_config/0_setup.sh | 3 +++
 3.New_server_deployment/2.Fill_empty_conf/0_setup.sh          | 3 +++
 2 files changed, 6 insertions(+)

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 c19ee5c1..33bb0a9d 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 197aaeb9..e8d7a231 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")
-- 
GitLab