summaryrefslogtreecommitdiff
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
parentc8f47c26cc1f998dae0efa51a631b01198bedd66 (diff)
downloadinstallation-guide-2bec1076fff4a0367e3df27c85b5efe6a0b3f77b.zip
Document partman/early_command (added in partman-base 129).
-rw-r--r--debian/changelog3
-rw-r--r--en/appendix/preseed.xml5
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index e9cd70379..8e7f0d305 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
installation-guide (2008xxxx) UNRELEASED; urgency=low
- *
+ [ Colin Watson ]
+ * Document partman/early_command (added in partman-base 129).
-- Frans Pop <fjp@debian.org> Wed, 10 Dec 2008 21:05:01 +0100
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