Commit 435d40f7 by Stéphane Graber

Pass the container name to copy_configuration in lxc-lenny

This fixes a case where lxc.utsname would be set empty as copy_configuration wasn't getting the container name. Signed-off-by: 's avatarRex Tsai (蔡志展) <rex.tsai@canonical.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 6bf8daf9
......@@ -301,7 +301,7 @@ if [ $? -ne 0 ]; then
exit 1
fi
copy_configuration $path $rootfs
copy_configuration $path $rootfs $name
if [ $? -ne 0 ]; then
echo "failed write configuration file"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment