问题原文
原帖链接 · 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
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
