jetoleHey guys. Does anyone know how to see all options of a d-i line in preseed. For example, right now I am looking at d-i partman-auto/init_automatically_partition and I don't know what possible values I can place there are02:55
maxagazcan I send a file in attachment with the command mail ?09:57
corecode_jetole: you'll have to look at the template file12:09
jetolecorecode_: where can I find the template file?12:10
corecode_in the packages12:10
corecode_it is a pain12:10
corecode_i'm always looking in the d-i svn12:10
jetoleWell I solved the issue I was having with preseed and don't need but thought it would be worth looking into. If you say it's a pain and since I don't _need_ it then for now I will pass12:12
jetolethanks for the insight though12:12
jetoleright now I am trying to figure out how to get puppet to run after preseed since in 10.04 it's told not to run by default as per /etc/default/puppet12:13
corecode_what is puppet?12:13
corecode_i have a line:12:13
corecode_d-i preseed/late_command string preseed_fetch customize_install.sh /target/tmp/customize_install.sh && in-target sh /tmp/customize_install.sh12:14
jetoleI have no idea what that line does. Puppet is a systems config tools aimed at clusters. a puppet client connects to puppet master and puppet master tells the system how to be configured12:15
jetolei.e. always run this service. Make sure this file exists, restart this service if this file changes, make sure this user exists and is part of said groups etc etc12:16
jetoleit's similar in concept to cfengine to but newer and although not based on the cfengine code you could say improved12:17
corecode_that line downloads a shell script12:17
corecode_and runs it12:17
corecode_after installation12:17
jetoledo you know if I have sed in the installer?12:18
corecode_you mean if you use that shell script?12:18
corecode_then you're running in a chroot of the installed system12:18
jetoleno I mean if sed is available inside the installer12:18
corecode_you have everything you installed12:18
jetoleah thats true. I was thinking just as a final command run something like "sed -e 's/^START=no$/START=yes/' -i /target/etc/default/puppet12:19
jetolebut since I have it in target I can do full path to sed in the target12:19
jetoleso thanks for the insight on that12:19
corecode_just use my line :)12:19
jetoleWhere do I get that script from and how do I customize it?12:20
corecode_you write it yourself12:20
corecode_and it downloads it from the location of the preseed.conf file12:20
jetoleand I place it in the ... thats what I was about to ask12:20
corecode_the boot path looks like:12:21
corecode_append console=tty0 console=ttyS0,115200n8 auto=true priority=critical interface=auto url=http://labospc40/preseed/./lucid-preseed.cfg vga=normal initrd=lucid-installer/amd64/initrd.gz --12:21
jetoleand the in-target does ... actually that looks really cool now that I'm starting to understand it12:21
corecode_the /./ says "relative to this path"12:21
jetolevery neat12:22
corecode_do you by any chance have an idea how i can install over a lvm system?12:24
corecode_the installer complains12:24
jetoleI think enabling puppet though is the only thing I need to do. You should really check it out.12:24
corecode_yea i heard about that12:24
jetoleyou mean over a previously existing LVM or is it asking you to confirm writes to the partition table12:25
jetole(since I have seen both)12:25
corecode_over an existing lvm12:25
corecode_that spans multiple disks12:25
corecode_i want to kill everything and start from scratch12:25
jetolenope but I have seen it12:25
corecode_but that doesn't seem to work12:25
corecode_maybe we should grab some wiki page and document our snippets12:26
jetoleI haven't actually heard of lvm over multiple disks. I mean I have heard of it but never known anyone whose tried it. Have you considered linux raid12:26
jetoleI don't think I have anything to document12:26
jetolethat trick you showed me though. Yeah thats worth it12:27
corecode_what do you mean, no lvm over multiple disks12:27
corecode_that's the whole point of it, no?12:27
jetolefor example I use lvm on all my VM servers to dynamically create virtual disks from the storage12:28
jetolewhich exists on hardware raid12:28
corecode_ah, we don't have hardware raid12:29
corecode_they are just research machines12:29
jetoleno but there is software raid12:29
corecode_which happen to have two disks12:29
jetoleyou have a few options, linear is like jbod then their is raid 10, raid5 and raid612:29
corecode_i'm just creating one big file system from the rest of the first disk and the whole second disk12:30
jetoleYeah I used the software raid on my home workstation the other day creating a raid1 / disk mirroring out of two drives without any hardware raid suppot12:30
jetolecorecode_: yeah that sounds like linear raid from the software raid to me12:30
jetoleI know it can be done via LVM12:30
jetoleI just have no experience with it12:30
sorencorecode_: Spanning a volume group over multiple disks is /fine/. I do it all the time.13:56
jetoleDoes anyone know if there is anyway in a preseed file to enable a package that debian has disabled the package via /etc/default (in this case puppet). I seem to be having some issues with the late run command and I only need one package enabled to setup the rest of my systems (puppet is config management)15:30
sorenYou can't do it from late_command?15:37
CIA-3libdebian-installer: cjwatson * r207 ubuntu/ (3 files in 2 dirs): merge from Debian 0.6915:45
CIA-3libdebian-installer: cjwatson * r207 ubuntu/ (3 files in 2 dirs): merge from Debian 0.6915:47
* ogra wonders why that came twice15:48
cjwatsonI made a mistake and uncommitted15:51
CIA-3libdebian-installer: cjwatson * r208 ubuntu/debian/changelog: releasing version 0.69ubuntu115:52
ogrageez, do we get grub2 bugs hourly now ?16:06
ograhmm, the last two seem actually not to be caused by people mis-editing their /etc/default/grub file16:35
corecode_cjwatson: is there a way to make the installer killall lvm setup?17:11
corecode_cjwatson: i tried dd'ing over the drives, but the kernel doesn't refresh its information then17:12
jetolesoren: here is my late_command thats failing: d-i preseed/late_command string in-target sh /bin/sed -e 's/^START=no$/START=yes/' -i /etc/default/puppet17:29
cjwatsoncorecode_: there's a preseed for it somewhere, I don't remember the details offhand17:29
cjwatsonjetole: why are you using 'sh' there?  it seems unlikely to help and will probably hinder17:29
jetolethe actual command is giving an exit status of 2 during the install17:29
cjwatsoncorecode_: have you checked the installation guide?17:30
cjwatson# If one of the disks that are going to be automatically partitioned17:30
cjwatson# contains an old LVM configuration, the user will normally receive a17:30
cjwatson# warning. This can be preseeded away...17:30
cjwatsond-i partman-lvm/device_remove_lvm boolean true17:30
jetolecjwatson: I have never used in-target today and thats based on me changing the command from what someone else told me17:30
jetolecjwatson: how you you rewrite that?17:30
cjwatsonjetole: well, I'd just drop the 'sh /bin/'17:30
cjwatsoni.e. in-target sed ...17:30
jetolecjwatson: d-i preseed/late_command string in-target sed -e 's/^START=no$/START=yes/' -i /etc/default/puppet17:33
jetoleit knows the $PATH when I use in-target?17:33
cjwatsonwell, it will have some default path or other, but /bin will certainly be in $PATH17:36
* jetole tries this now17:36
jetolecjwatson: I'm hoping this works but regardless, thanks17:40
jetolecjwatson: well so far so good. The installer finished without an error17:47
corecode_cjwatson: i have device_remove_lvm set already\17:57
corecode_must be something else17:58
corecode_Because the volume group(s) on the selected device also consist of physical volumes on other devices, it is not considered safe to remove its LVM data automatically. If you wish to use this device for partitioning, please remove its LVM data first.18:05
corecode_yea, how do i do that?18:05
corecode_i tried dd if=/dev/zero of=/dev/sda18:06
corecode_but i can't tell the kernel that the lvm is gone now18:06
jetolecorecode_: afaik and I haven't looked into this thoroughly nor am I an authority but it seems the overwrite existing lvm via preseed is broken in 10.04 since how to do it is documented in the ubuntu docs for preseed for 10.04 where they give you the exact line and you are the third or fourth person + myself who I have heard this from18:13
jetoleif/when you confirm it then file a bug and hopefully it should be fixed come 10.04.118:14
corecode_i didn't even find ubuntu preseed docs yes18:24
corecode_last time i looked they didn't exist18:25
corecode_The volume group name used to automatically partition using LVM is18:40
corecode_already in use. Lowering the priority for configuration questions18:40
corecode_will allow you to specify an alternative name.18:40
corecode_something is REALLy wrong18:41
corecode_i started with a clean disk18:41
corecode_well, wiped out 4MB at the beginning of the drive18:41
corecode_ah yea18:46
corecode_definitely a bug18:46
corecode_cjwatson: the parititoner needs to wipe the contents of the new partitions18:47
corecode_cjwatson: otherwise previously existing lvm partitions will be picked up and confuse the installer18:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!