Commit c6ed4d04 by Serge Hallyn Committed by Stéphane Graber

lxc-ubuntu: fix printing of default user

If a user is bound into the container, don't claim the default user is ubuntu. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1052315Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 3f16e26c
...@@ -701,7 +701,11 @@ fi ...@@ -701,7 +701,11 @@ fi
echo "" echo ""
echo "##" echo "##"
echo "# The default user is 'ubuntu' with password 'ubuntu'!" if [ -n "$bindhome" ]; then
echo "# Use the 'sudo' command to run tasks as root in the container." echo "# Log in as user $bindhome"
else
echo "# The default user is 'ubuntu' with password 'ubuntu'!"
echo "# Use the 'sudo' command to run tasks as root in the container."
fi
echo "##" echo "##"
echo "" echo ""
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