mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Print LXC start
Just somes echo to inform when LXC starting And a comment because Moul will hang me if I not do that !
This commit is contained in:
parent
a60213a3e2
commit
ba86a4fc01
1 changed files with 3 additions and 0 deletions
|
@ -35,7 +35,10 @@ LXC_START () {
|
|||
# Start the container and log the booting process in $script_dir/lxc_boot.log
|
||||
# Try to start only if the container is not already started
|
||||
if ! is_lxc_running; then
|
||||
echo "Start the LXC container" | tee --append "$test_result"
|
||||
sudo lxc-start --name=$LXC_NAME --daemon --logfile "$script_dir/lxc_boot.log" | tee --append "$test_result" 2>&1
|
||||
else
|
||||
echo "An LXC container is already running" | tee --append "$test_result"
|
||||
fi
|
||||
|
||||
# Check during 20 seconds if the container has finished to start.
|
||||
|
|
Loading…
Add table
Reference in a new issue