1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2024-12-22 06:20:13 +00:00

Pass $name to init.lxc

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
This commit is contained in:
Nikolay Martynov 2018-05-11 14:57:32 -04:00
parent 5e7e741c1b
commit dcd92c8556

View File

@ -239,7 +239,7 @@ EOF
ifconfig eth0 |grep inet
fi
exec @SBINDIR@/init.lxc -- $sshd_path
exec @SBINDIR@/init.lxc --name $name -- $sshd_path
exit 1
fi