Update diy.sh

在自启动虚拟机中,添加自动登录。
This commit is contained in:
悟空的日常镜像仓库 2023-12-20 17:05:44 +08:00
parent 91f068bb72
commit e53fba6a09
1 changed files with 2 additions and 0 deletions

View File

@ -467,6 +467,8 @@ do_autostart_vm() {
rm $TMP_RC_LOCAL
rm "$TMP_VM_LIST"
setautologin
# 显示/etc/rc.local的内容
Show 0 "已更新/etc/rc.local文件。您可以查看配置以确认自启动虚拟机设置。"
cat /etc/rc.local