Ubiquity 预装 Ubuntu 桌面后如何自动关机

Eso*_*tes 3 preseed system-installation

我重新制作了一个普通的桌面amd64 iso你可以官方下载。

isolinux/isolinux.cfg预置的以下内容可以正常工作:

default live
        label live
          menu label ^Start Kubuntu
          kernel /casper/vmlinuz.efi
          append  file=/cdrom/preseed/kubuntu.seed boot=casper noninteractive initrd=/casper/initrd.lz quiet splash --
Run Code Online (Sandbox Code Playgroud)

但最终不会发生预置的关机(debian-installer/exit/poweroff boolean true),而是在安装程序完成时启动桌面会话。

我尝试过设置以下预置选项的各种组合,但它最终总是启动桌面会话:

d-i finish-install/reboot_in_progress note
d-i debian-installer/exit/halt boolean true
d-i debian-installer/exit/poweroff boolean true
Run Code Online (Sandbox Code Playgroud)

信息:我已将所有预置行插入 preseed/kubuntu.seed

Eso*_*tes 5

好的,我已经找到了解决方案,以下键可以解决问题:

  ubiquity ubiquity/reboot boolean true
  ubiquity ubiquity/poweroff boolean true
Run Code Online (Sandbox Code Playgroud)