summaryrefslogtreecommitdiff
path: root/en/appendix
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-12-26 14:37:10 +0000
committerColin Watson <cjwatson@debian.org>2008-12-26 14:37:10 +0000
commit2bec1076fff4a0367e3df27c85b5efe6a0b3f77b (patch)
treef4f9b1f2f437e579876614b11559a69009357ac1 /en/appendix
parentc8f47c26cc1f998dae0efa51a631b01198bedd66 (diff)
downloadinstallation-guide-2bec1076fff4a0367e3df27c85b5efe6a0b3f77b.zip
Document partman/early_command (added in partman-base 129).
Diffstat (limited to 'en/appendix')
-rw-r--r--en/appendix/preseed.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml
index 78a26920d..6275c616f 100644
--- a/en/appendix/preseed.xml
+++ b/en/appendix/preseed.xml
@@ -1394,6 +1394,11 @@ installation.
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb
+# This command is run immediately before the partitioner starts. It may be
+# useful to apply dynamic partitioner preseeding that depends on the state
+# of the disks (which may not be visible when preseed/early_command runs).
+#d-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n1)"
+
# This command is run just before the install finishes, but when there is
# still a usable /target directory. You can chroot to /target and use it
# directly, or use the apt-install and in-target commands to easily install