[lxc-users] LXC-3.1 - console disfunctional

Andrey Repin anrdaemon at yandex.ru
Thu May 30 22:20:33 UTC 2019


Greetings, webman at manfbraun.de!

> Hello!

> I am just trying debian buster and
> found LCX -3.1 and gave it a try.
> After making the networking configuration,
> I started the container and tried to login
> via console

>>lxc-console [-n] rxdptest1

~/.bash_aliases

      xat(){
        if [ "$2" = "-u" ]; then
          _host="$1"
          shift 2
          if [ "$1" ]; then
            set -- "$_host" "$@"
          else
            set -- "$_host" "$USER"
          fi
        fi
        eval $(inscreen -t "LXC:$*") 'sudo lxc-attach -n "${1:-dc1}" -- su -l "${@:2}"'
      }; readonly -f xat

> A hello message appears, but that's all!
> No logon prompt at all, even not pressing enter several times.

I see no reason to even have lxc-console in the first place.


-- 
With best regards,
Andrey Repin
Friday, May 31, 2019 1:17:42

Sorry for my terrible english...



More information about the lxc-users mailing list