[Viper-users] Strange behavior

Timm Essigke Timm.Essigke at uni-bayreuth.de
Mon Oct 5 13:08:13 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Davor,

today I am struggling with some behavior I can not understand.

Please take the attached ldif file, run make, run "wget
http://10.0.1.1/cgi-bin/preseed.cfg?ip=10.0.1.9 -O /tmp/preseed.cfg.new"
and have a look at the file. For me everything is fine.

Now, comment in cn=time/zone... at the bottom of the file. I get (except
some moved lines):

- --- /tmp/preseed.cfg.new        2009-10-05 18:12:58.000000000 +0200

+++ /tmp/preseed.cfg.timezone   2009-10-05 18:10:15.000000000 +0200

- -d-i    time/zone       string  Europe/Zagreb
+d-i    time/zone       string  Europe/Berlin

+partman-auto   partman-auto/expert_recipe      string  exp $
cn=regular_home,ou=partitioning,ou=Defaults data
- -partman-auto   partman-auto/expert_recipe      string  regular_home ::
300 4000 7000 ext3   $primary{ }   $bootable{ }   method{ format }
format{ }   use_filesystem{ }   filesystem{ ext3 }   mountpoint{ / }  .
64 512 300% linux-swap   method{ swap }   format{ }  . 100 10000
1000000000 ext3   method{ format }   format{ }   use_filesystem{ }
filesystem{ ext3 }   mountpoint{ /home }  .

- -d-i    preseed/late_command    string  in-target sh -c "echo 10.0.1.1
puppet >>/etc/hosts"
+d-i    preseed/late_command    string  in-target sh -c "echo $ exp $
cn=default,ou=networks.. configServer $ puppet >>/etc/hosts"
 partman-base   partman/choose_partition        select  finish

Why is "exp" not processed correctly if I modify something totally
different? (It works again, if I set the timezone by
cn=time/zone,cn=viper-test,ou=hosts,o=bisb.uni-bayreuth.de,ou=clients.)

If I comment everything in as it is in the file, exp is evaluated
correctly again.

Regards,

Timm

- --

========================================
Dr. Timm Essigke
Structural Biology/Bioinformatics
University of Bayreuth
Universitätsstr. 30, BGI
95447 Bayreuth
Germany

Telephone: +49-921-55-3547
Fax: +49-921-55-3544
e-mail: Timm.Essigke at uni-bayreuth.de
http://www.bisb.uni-bayreuth.de/
========================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKyif89cEzJ2deIqIRAiKYAJ9+YCqMVbawZYIyYuBK4c/j7ipWYQCgsbLk
b7/onCoxVjaMq5QiVFJJbUE=
=0xaU
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bisb.uni-bayreuth.de.ldif
Url: http://lists.hcoop.net/pipermail/viper-users/attachments/20091005/d351773c/attachment.txt 


More information about the Viper-users mailing list