On Thu, Jul 11, 2013 at 7:03 PM, Michele Tartara <[email protected]> wrote:
> Debootstrap used to leaves the instance without a root password set, making 
> the
> first login quite hard.
>
> This commits changes the situation, by setting an empty root password (as
> already stated by the documentation.
>
> Signed-off-by: Michele Tartara <[email protected]>
> ---
>  create |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/create b/create
> index 0105022..442667c 100755
> --- a/create
> +++ b/create
> @@ -113,6 +113,9 @@ else
>    fi
>  fi
>
> +# reset the root password
> +chroot $TMPDIR passwd -d root
> +

Yeah, after I add this patch, copy hooks dir under /srv/ganeti/os/ dir
and re-compile, re-install instance-debootstrap, It can login without
password.



--
Thanks
Weiwei  Jia (Harry Wei)

Reply via email to