こちらで行ったのと同じ方法で Ubuntu 20.10 をインストールします。
vsh termina
lxc launch ubuntu:20.10
インストール直後に、次のようにログインして、root のパスワードを設定します。
lxc exec square-sturgeon -- /bin/bash
次からは、
lxc console square-sturgeon
実行した時の様子
(termina) chronos@localhost ~ $ lxc console square-sturgeon
To detach from the console, press: <ctrl>+a q
square-sturgeon login: root
Password:
run-parts: /etc/update-motd.d/98-fsck-at-reboot exited with return code 2
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@square-sturgeon:~#