Skip to content
Snippets Groups Projects
Verified Commit ebc2ea8b authored by David Beniamine's avatar David Beniamine
Browse files

Try to import eol config before initial gen_config

parent acfc4540
Branches
No related tags found
No related merge requests found
...@@ -41,6 +41,7 @@ safe_run(){ ...@@ -41,6 +41,7 @@ safe_run(){
logfile="/var/log/`basename $0`_`date +%Y%m%d-%H%M`" logfile="/var/log/`basename $0`_`date +%Y%m%d-%H%M`"
exec &> >(tee -a "$logfile") exec &> >(tee -a "$logfile")
DIR=`dirname $0`
echo "Updating eole" echo "Updating eole"
safe_run Maj-Auto safe_run Maj-Auto
...@@ -48,6 +49,7 @@ safe_run Maj-Auto ...@@ -48,6 +49,7 @@ safe_run Maj-Auto
echo "Generating containers" echo "Generating containers"
safe_run gen_conteneurs safe_run gen_conteneurs
cp -v $DIR/eole/config.eol /etc/eole/
echo "Generating initial config" echo "Generating initial config"
safe_run gen_config safe_run gen_config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment