大网数据广告活动
服务器运维问答

Debian preseed prompts disk select dispite it being seeded

· 52CE 我爱测

In our environment we are automating deployment of Debian VMs to run workloads. Everything in our preseed file works except for the selection of the disk. This still gets prompted. Our preseed config for disks is: d-i partman-aut…

问题原文

原帖链接 · kazaamjt · CC BY-SA 3.0

In our environment we are automating deployment of Debian VMs to run workloads.
Everything in our preseed file works except for the selection of the disk.
This still gets prompted.

Our preseed config for disks is:

 d-i partman-auto/init_automatically_partition select biggest_free
 d-i partman-auto/disk string /dev/sda
 d-i partman-auto/method regular
 d-i partman-auto/choose_recipe select atomic

 d-i partman-partitioning/confirm_write_new_label boolean true
 d-i partman/choose_partition select finish
 d-i partman/confirm boolean true
 d-i partman/confirm_nooverwrite boolean true

despite this, we still get prompted by the disk select:

As you can see, the correct disk is sda...
(I checked many recipes and there didn't seem to be, this is the standard command from the debian project itself)

已采纳解答

原帖链接 · Patrick Mevzek · CC BY-SA 3.0

As it has been discovered, you are missing a string token.

So use:

d-i partman-auto/method string regular

instead of your current:

d-i partman-auto/method regular

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-12-29)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。