Add completion message
[lxc-debian-unprivileged.git] / templates / lxc-debian-unprivileged
index 42ece9e509f61156e32cd1d97ff4ea4bd0c71fc8..d801b9d77ae7e637756c805e122c3b35fce629ef 100755 (executable)
@@ -264,4 +264,18 @@ enable_initscripts
 
 rm -r "${LXC_PATH}/bin"
 
+cat <<EOF
+You have successfully created a new debian container, ${LXC_NAME} running ${DEBIAN_RELEASE}.
+
+You should start the new container, and use:
+
+  lxc-attach -n ${LXC_NAME} -- su -
+
+To create a user account / set the root password.
+
+Note, by default, it's likely only to be the console that can login as root, so that'd be:
+
+  lxc-console -n ${LXC_NAME} -t 0
+EOF
+
 exit 0