mirror of
https://github.com/YunoHost/yunohost_demo.git
synced 2024-09-03 19:56:44 +02:00
Date demo_boot.log
This commit is contained in:
parent
76283ee3a3
commit
cf61d0eb0f
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ fi
|
|||
|
||||
# Démarrage de la machine
|
||||
echo "> Démarrage de la machine"
|
||||
date >> "$script_dir/demo_boot.log
|
||||
sudo lxc-start -n $LXC_NAME -o "$script_dir/demo_boot.log" -d
|
||||
sleep 3
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ UPGRADE_DEMO_CONTAINER () { # Démarrage, upgrade et snapshot
|
|||
sudo sed -i "s@address $IP_MACHINE@address $IP_UPGRADE@" /var/lib/lxc/$MACHINE/rootfs/etc/network/interfaces
|
||||
|
||||
# Démarre le conteneur
|
||||
date >> "$script_dir/demo_boot.log
|
||||
sudo lxc-start -n $MACHINE -o "$script_dir/demo_boot.log" -d > /dev/null
|
||||
sleep 10
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue