[02:55] Hey 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 are [09:57] can I send a file in attachment with the command mail ? [12:09] jetole: you'll have to look at the template file [12:10] corecode_: where can I find the template file? [12:10] in the packages [12:10] it is a pain [12:10] i'm always looking in the d-i svn [12:11] grrrrr [12:12] Well 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 pass [12:12] thanks for the insight though [12:13] right 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/puppet [12:13] what is puppet? [12:13] i have a line: [12:14] d-i preseed/late_command string preseed_fetch customize_install.sh /target/tmp/customize_install.sh && in-target sh /tmp/customize_install.sh [12:15] I 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 configured [12:16] i.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 etc [12:17] it's similar in concept to cfengine to but newer and although not based on the cfengine code you could say improved [12:17] that line downloads a shell script [12:17] and runs it [12:17] ah [12:17] after installation [12:18] do you know if I have sed in the installer? [12:18] you mean if you use that shell script? [12:18] then you're running in a chroot of the installed system [12:18] no I mean if sed is available inside the installer [12:18] you have everything you installed [12:18] likely [12:19] ah thats true. I was thinking just as a final command run something like "sed -e 's/^START=no$/START=yes/' -i /target/etc/default/puppet [12:19] but since I have it in target I can do full path to sed in the target [12:19] so thanks for the insight on that [12:19] just use my line :) [12:20] Where do I get that script from and how do I customize it? [12:20] you write it yourself [12:20] and it downloads it from the location of the preseed.conf file [12:20] and I place it in the ... thats what I was about to ask [12:21] the boot path looks like: [12:21] 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] and the in-target does ... actually that looks really cool now that I'm starting to understand it [12:21] the /./ says "relative to this path" [12:22] neat [12:22] very neat [12:23] thanks [12:24] do you by any chance have an idea how i can install over a lvm system? [12:24] the installer complains [12:24] I think enabling puppet though is the only thing I need to do. You should really check it out. [12:24] http://www.puppetlabs.com/ [12:24] yea i heard about that [12:25] you mean over a previously existing LVM or is it asking you to confirm writes to the partition table [12:25] (since I have seen both) [12:25] over an existing lvm [12:25] that spans multiple disks [12:25] i want to kill everything and start from scratch [12:25] nope but I have seen it [12:25] but that doesn't seem to work [12:26] maybe we should grab some wiki page and document our snippets [12:26] I 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 raid [12:26] ? [12:26] I don't think I have anything to document [12:27] that trick you showed me though. Yeah thats worth it [12:27] what do you mean, no lvm over multiple disks [12:27] that's the whole point of it, no? [12:28] no [12:28] oh. [12:28] for example I use lvm on all my VM servers to dynamically create virtual disks from the storage [12:28] which exists on hardware raid [12:29] ah, we don't have hardware raid [12:29] they are just research machines [12:29] no but there is software raid [12:29] which happen to have two disks [12:29] you have a few options, linear is like jbod then their is raid 10, raid5 and raid6 [12:30] i'm just creating one big file system from the rest of the first disk and the whole second disk [12:30] Yeah 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 suppot [12:30] *support [12:30] corecode_: yeah that sounds like linear raid from the software raid to me [12:30] I know it can be done via LVM [12:30] I just have no experience with it [13:56] corecode_: Spanning a volume group over multiple disks is /fine/. I do it all the time. [15:30] Does 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:37] You can't do it from late_command? [15:45] libdebian-installer: cjwatson * r207 ubuntu/ (3 files in 2 dirs): merge from Debian 0.69 [15:47] libdebian-installer: cjwatson * r207 ubuntu/ (3 files in 2 dirs): merge from Debian 0.69 [15:48] * ogra wonders why that came twice [15:51] I made a mistake and uncommitted [15:51] ah [15:52] libdebian-installer: cjwatson * r208 ubuntu/debian/changelog: releasing version 0.69ubuntu1 [16:06] geez, do we get grub2 bugs hourly now ? [16:35] hmm, the last two seem actually not to be caused by people mis-editing their /etc/default/grub file [17:11] cjwatson: is there a way to make the installer killall lvm setup? [17:12] cjwatson: i tried dd'ing over the drives, but the kernel doesn't refresh its information then [17:29] soren: 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/puppet [17:29] corecode_: there's a preseed for it somewhere, I don't remember the details offhand [17:29] jetole: why are you using 'sh' there? it seems unlikely to help and will probably hinder [17:29] the actual command is giving an exit status of 2 during the install [17:30] corecode_: have you checked the installation guide? [17:30] # If one of the disks that are going to be automatically partitioned [17:30] # contains an old LVM configuration, the user will normally receive a [17:30] # warning. This can be preseeded away... [17:30] d-i partman-lvm/device_remove_lvm boolean true [17:30] cjwatson: I have never used in-target today and thats based on me changing the command from what someone else told me [17:30] cjwatson: how you you rewrite that? [17:30] jetole: well, I'd just drop the 'sh /bin/' [17:30] i.e. in-target sed ... [17:33] cjwatson: d-i preseed/late_command string in-target sed -e 's/^START=no$/START=yes/' -i /etc/default/puppet [17:33] ? [17:33] it knows the $PATH when I use in-target? [17:36] yes [17:36] well, it will have some default path or other, but /bin will certainly be in $PATH [17:36] great [17:36] * jetole tries this now [17:40] cjwatson: I'm hoping this works but regardless, thanks [17:47] cjwatson: well so far so good. The installer finished without an error [17:57] cjwatson: i have device_remove_lvm set already\ [17:58] must be something else [18:05] 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] yea, how do i do that? [18:06] i tried dd if=/dev/zero of=/dev/sda [18:06] but i can't tell the kernel that the lvm is gone now [18:13] corecode_: 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 from [18:13] ah [18:14] thanks [18:14] if/when you confirm it then file a bug and hopefully it should be fixed come 10.04.1 [18:24] i didn't even find ubuntu preseed docs yes [18:25] last time i looked they didn't exist [18:40] The volume group name used to automatically partition using LVM is [18:40] already in use. Lowering the priority for configuration questions [18:40] will allow you to specify an alternative name. [18:40] huh? [18:41] something is REALLy wrong [18:41] i started with a clean disk [18:41] well, wiped out 4MB at the beginning of the drive [18:46] ah yea [18:46] definitely a bug [18:47] cjwatson: the parititoner needs to wipe the contents of the new partitions [18:47] cjwatson: otherwise previously existing lvm partitions will be picked up and confuse the installer