[Debian-NP-Commits] r256 - people/vagrant/simple-cdd

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Thu, 25 Nov 2004 22:41:32 -0700


Author: vagrant-guest
Date: Thu Nov 25 22:40:25 2004
New Revision: 256

Modified:
   people/vagrant/simple-cdd/default.preseed
   people/vagrant/simple-cdd/simple-cdd-profiles
Log:
try to select profiles and load them one at a time...


Modified: people/vagrant/simple-cdd/default.preseed
==============================================================================
--- people/vagrant/simple-cdd/default.preseed	(original)
+++ people/vagrant/simple-cdd/default.preseed	Thu Nov 25 22:40:25 2004
@@ -59,11 +59,12 @@
 d-i  preseed/late_command    string mkdir -p /target/usr/local/simple-cdd ; cp /cdrom/simple-cdd/* /target/usr/local/simple-cdd/
 # This command is run just as base-config is starting up.
 #base-config  base-config/early_command string echo hi mom
+base-config  base-config/early_command string /usr/local/simple-cdd/simple-cdd-profiles
 # This command is run after base-config is done, just before the login:
 # prompt. This is a good way to install a set of packages you want, or to
 # tweak the configuration of the system.
 #base-config  base-config/late_command  string apt-get install zsh; chsh -s /bin/zsh
-base-config  base-config/late_command  string apt-get -yu install $(egrep ^[a-z0-9] /usr/local/simple-cdd/install.packages)
+#base-config  base-config/late_command  string apt-get -yu install $(egrep ^[a-z0-9] /usr/local/simple-cdd/install.packages)
 
 #### Network configuration.
 

Modified: people/vagrant/simple-cdd/simple-cdd-profiles
==============================================================================
--- people/vagrant/simple-cdd/simple-cdd-profiles	(original)
+++ people/vagrant/simple-cdd/simple-cdd-profiles	Thu Nov 25 22:40:25 2004
@@ -2,7 +2,7 @@
 
 cd /usr/local/simple-cdd
 
-debconf-loadtemplate simple-cdd simple-cdd.templates
+debconf-loadtemplate simple-cdd ./simple-cdd.templates
 
 # load debconf
 . /usr/share/debconf/confmodule
@@ -15,10 +15,13 @@
 db_stop
 
 for p in $profiles ; do
+  echo "configuring $p"
   if [ -r "$p.preseed" ]; then
+    echo "debconf preseeding for $p"
     debconf-set-selections $p.preseed
   fi
   if [ -r "$p.packages" ]; then
+    echo "installing packages for $p"
     apt-get -yu install "$(egrep -v ^# $p.packages)"
   fi
 done