From dcd92c8556b930b01b5df9e3a412876f4b44d503 Mon Sep 17 00:00:00 2001 From: Nikolay Martynov Date: Fri, 11 May 2018 14:57:32 -0400 Subject: [PATCH] Pass `$name` to init.lxc Signed-off-by: Nikolay Martynov --- templates/lxc-sshd.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-sshd.in b/templates/lxc-sshd.in index 40a08fb..54309c7 100644 --- a/templates/lxc-sshd.in +++ b/templates/lxc-sshd.in @@ -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