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

Log pre / post install

parent 13b52251
Branches
No related tags found
No related merge requests found
......@@ -22,12 +22,16 @@ then
exit 1
fi
if [ -z "`which lxc-ls`" ]
then
echo "Please run postinstall on the master"
exit 1
fi
logfile="/var/log/`basename $0`_`date +%Y%m%d-%H%M`"
exec &> >(tee -a "$logfile")
DIR=`dirname $0`
echo "Updating eole"
......
......@@ -28,6 +28,9 @@ then
exit 1
fi
logfile="/var/log/`basename $0`_`date +%Y%m%d-%H%M`"
exec &> >(tee -a "$logfile")
echo "Updating eole"
Maj-Auto
......@@ -36,4 +39,6 @@ gen_conteneurs
echo "Instanciating server"
instance
echo "Running diagnostic"
diagnose -L
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment