[lxc-devel] [PATCH 4/4] lxc-ubuntu: Fix mixed indent
Serge Hallyn
serge.hallyn at canonical.com
Thu Nov 29 14:40:01 UTC 2012
Quoting Stéphane Graber (stgraber at ubuntu.com):
> Replace all remaining tabs by 8 spaces, to properly indent by 4 spaces.
>
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> templates/lxc-ubuntu | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/templates/lxc-ubuntu b/templates/lxc-ubuntu
> index ce1e065..8d230e6 100644
> --- a/templates/lxc-ubuntu
> +++ b/templates/lxc-ubuntu
> @@ -113,13 +113,13 @@ finalize_user()
> done
>
> if [ -n "$auth_key" -a -f "$auth_key" ]; then
> - u_path="/home/${user}/.ssh"
> - root_u_path="$rootfs/$u_path"
> - mkdir -p $root_u_path
> - cp $auth_key "$root_u_path/authorized_keys"
> - chroot $rootfs chown -R ${user}: "$u_path"
> + u_path="/home/${user}/.ssh"
> + root_u_path="$rootfs/$u_path"
> + mkdir -p $root_u_path
> + cp $auth_key "$root_u_path/authorized_keys"
> + chroot $rootfs chown -R ${user}: "$u_path"
>
> - echo "Inserted SSH public key from $auth_key into /home/${user}/.ssh/authorized_keys"
> + echo "Inserted SSH public key from $auth_key into /home/${user}/.ssh/authorized_keys"
> fi
> return 0
> }
> @@ -720,10 +720,10 @@ fi
> echo ""
> echo "##"
> if [ -n "$bindhome" ]; then
> - echo "# Log in as user $bindhome"
> + 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."
> + 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 ""
> --
> 1.8.0
>
>
> ------------------------------------------------------------------------------
> Keep yourself connected to Go Parallel:
> INSIGHTS What's next for parallel hardware, programming and related areas?
> Interviews and blogs by thought leaders keep you ahead of the curve.
> http://goparallel.sourceforge.net
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
More information about the lxc-devel
mailing list