[00:00] I think this is a ubiquity bug - it always copies over /etc/network/interfaces from the live session, but casper causes that to include "manual" if you're netbooting [00:00] =/ [00:01] how come this is not happening in jenkins/checkbox-satelite, or it does happen just not causing any problems? [00:01] interesting. [00:01] dunno [00:01] they may have a different live session setup [00:01] true. [00:02] i'll poke them, next time I sync up with them. [00:02] what's the alternative to ubiquity? [00:02] cjwatson: by the way, are you ok to try to include rsyslogd support in ubiquity cd. [00:06] how do you mean? [00:07] so i am netbooting .... [00:07] KERNEL B/5.556/fdva/vmlinuz [00:07] APPEND auto=true priority=critical boot=casper netboot=nfs nfsroot=192.168.137.1:/scratch/nfs/pxe/install/B/5.556/fdva ip=:::::eth0:dhcp initrd=B/5.556/fdva/initrd.lz automatic-ubiquity file=/cdrom/preseed/fdva.seed vga=791 -- [00:08] i had originally had to edit the append line from 'ubiquity' to 'automatic-ubiquity' ... and I'm wondering if there a bug in ubiquity if there's some other alternative (say the traditional debian installer) that could be used instead of ubiquity [00:10] you can certainly use the traditional debian-installer [00:10] netboot images are linked from http://cdimage.ubuntu.com/netboot/12.04/ [00:10] netbooting ubiquity has always been a bit patchy TBH [00:23] https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/388060 [00:23] Ubuntu bug 388060 in ubiquity (Ubuntu) "netboot install of live CD results in unconfigured network interface" [Medium,Triaged] [00:50] so what if I wanted to execute the command 'rm /etc/network/interfaces' as one of the closing steps in the install, does ubiquity have a method for this? [00:52] d-i preseed/late_command string 'rm /etc/network/interfaces' , perhaps [00:54] have to go ... i'll post tomorrow how it went ... by hand, removing the interfaces file and restarting left the machine where I needed it. [00:55] Thanks for your help today [04:28] which part of the Ubuntu alternate installer code would be responsible for tunning this command? apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q -y install minimal^ standard^ [04:28] I'm trying to track down why this is happening: https://lists.ubuntu.com/archives/ubuntu-installer/2009-August/000466.html [04:49] pabs3: You may find this relevant: https://lists.ubuntu.com/archives/ubuntu-installer/2013-January/001185.html [04:50] pabs3: Looks like your problem is simply that you're preseeding "multiselect" instead of "string" for your skip. [04:51] Template: tasksel/skip-tasks [04:51] Type: string [04:51] Description: Which tasks should not be shown or installed [04:51] This can be preseeded to cause certain tasks to be neither shown nor [04:51] installed, as if they were not available. [04:52] I'm currently doing it slightly different to the post, using this (wasn't aware of skip-tasks yet): tasksel tasksel/first multiselect [04:53] pabs3: Looking at the code, it should be a space-seperated list (if just breaks them up with a shell for loop) [04:53] which code is this? [04:53] The code to tasksel. [04:53] (Hence the preseeds starting with tasksel/*) [04:54] Anyhow, "tasksel tasksel/skip-tasks string minimal standard" would skip attempts to install both, it looks like. [04:56] great, thanks [07:52] infinity: any idea if Ubuntu support pre-seeding via DHCP? http://www.debian.org/releases/stable/i386/apbs02.html.en#preseed-dhcp [07:53] using ubuntu-12.04-alternate-i386.iso [07:54] wow that is a neat..uh...feature ;p [09:59] infinity: Nothing actually cares about the template type you preseed, FWIW. [10:00] pabs3: That's been around for quite a while (2009 or so, I think), so it should work in 12.04, yes. [15:02] can somebody tell me how to preseed a hostname in ubiquity? d-i netcfg/get_hostname string blarg doesn't seem to do it [15:04] I [15:04] 've also tried overwriting /root/etc/hostname in a casper-bottom script, but that didn't seem to stick [15:15] nuclearbob: "d-i netcfg/get_hostname string blarg" is right, though you can't put it in a preseed file that's read from the network [15:15] stgraber: if I pack it into the initrd, should that work? [15:15] nuclearbob: yeah, or just passs netcfg/get_hostname=blarg as a kernel cmdline argument [15:17] stgraber: okay, I'll try that, thanks [15:30] stgraber: I passed netcfg/get_hostname=acer-veriton-04 as a kernel argument, and it shows up in /proc/cmdline, but the machine still appears to use ubuntu as the hostname === zequence_ is now known as zequence [18:11] using ubiquity on netboot ... these commands seem to fail / not be executed ... [18:12] d-i preseed/late_command string 'rm /etc/network/interfaces' [18:12] ubiquity ubiquity/success_command string rm /etc/network/interfaces [18:12] d-i preseed/late_command string string echo "john was here" > /root/john-di.txt [18:12] ubiquity ubiquity/success_command string echo "john was here" > /root/john-ubiquity.txt [18:12] any idea why? [18:21] ubiquity/success_command: similar to preseed/late_command. Specify a command to be run when the install completes successfully (runs outside of /target, but /target is mounted when the command is invoked). [18:21] hmm [18:47] johnsterdotcom: right, so you want /target/etc/network/interfaces rather than just /e/n/i ... === mpt_ is now known as mpt [18:48] also, you can't stack multiple commands that way - lines in a preseed file set a key in a database, they aren't a scpt [18:48] *script [18:48] so if you want multiple commands, something like: [18:49] ubiquity ubiquity/success_command string first command; second command [18:49] and don't put quotes around the whole command the way you did in your first late_command example [18:51] thank you ... i just learned that all the hard way ... but it is working now :) [18:52] looks like all my network configuration is for not as well ... the doc page for ubiquity is telling me straight-away that it's going to ignore netcfg operations [18:53] this is just the wrong tool for me, i think ... but don't have debian installer on the images i've inherited, so I'm doing my best [18:53] thanks for all this help [19:53] So I know there's a ubiquity/keep-installed key (from some other examples), but I don't see it documented here: https://wiki.ubuntu.com/UbiquityAutomation ... and I'm wanting to see if there's something like its inverse. Is there a listing of all available keys?