This repository was archived by the owner on Oct 11, 2024. It is now read-only.
能否修改容器名?
#241
Replies: 1 comment
-
cd ~/.local/share/tmoe-linux/containers/chroot
old_name="ubuntu-kinetic_arm64"
new_name="ubuntu-lunar_arm64"
sudo mv "$old_name" "$new_name"
sudo sed -E "s@(/chroot/)$old_name@\1$new_name@" -i.bak "$old_name/usr/local/etc/tmoe-linux/container/tmoe-linux-container" 把目录名称当作容器名称看起来可能很怪,我也觉得很怪。 下一个edition 大概不会用这种做法,而是通过 toml 配置文件来指定名称和路径。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在chroot ubuntu容器内部升级系统后,如何修改此容器名称
Beta Was this translation helpful? Give feedback.
All reactions