我希望在开始交互式 LXD 会话时使用我最喜欢的别名和 PS1
lxc exec my-container -- su -l
我已经把
.bashrc
$HOME
/home/root
由于
/bin/sh
/bin/bash
lxc exec my-container -- /bin/bash