/srv/irclogs.ubuntu.com/2010/05/17/#ubuntu-installer.txt

vlad__Hello?08:58
vlad__i'm triying to modify D-I to include p2p conectivity08:59
vlad__i have modify iso-scan.postinst from udeb iso-scan, debian-installer with make build_hd-media09:01
vlad__really problem is use iso from the same hd where you want to install09:01
CIA-9lilo-installer: cjwatson * r438 ubuntu/debian/ (72 files in 2 dirs): merge from Debian 1.3112:51
CIA-9lilo-installer: cjwatson * r439 ubuntu/debian/changelog: releasing version 1.31ubuntu112:54
cruejonescan the ubuntu installer send installation logs to a remote host via syslog like rhel and sles?15:00
cjwatsonyes15:00
* cjwatson looks up the details15:01
cruejonescjwatson: is it documented somewhere?15:01
* cjwatson looks up the details15:01
cjwatsonthis means "wait" :-)15:01
cruejonescjwatson: thanks15:01
cjwatsonapparently not documented, but you add log_host=YOUR.REMOTE.HOSTNAME as a boot parameter, and if necessary also log_port=PORT15:02
cjwatsonfeel free to file a bug on the installation-guide package in Ubuntu to document it15:02
cruejonesthanks!, does it need to be on the kernel boot line or could it be put in a preseed file?15:03
cjwatsonit has to be on the kernel boot line15:03
cruejonesok15:03
cjwatsonsyslogd is started before preseeding is processed15:03
cruejonesalso, (and I apologize as I am new to ubuntu) for some reason I cannot get a preseed file that prevents me from being asked if my hostname is correct15:04
cjwatsonnetcfg's preseeding sucks - it may not be possible15:04
cjwatsonexactly what error message are you getting?15:04
cruejonesone sec15:05
cruejonesok, got every other install option automated with preseed but I get this window " ! Configure the network" which presents me with the correct hostname for which I need to hit Continue to proceed15:07
cjwatsonI need the exact text15:08
cruejonespretty long15:09
cruejones"Please enter the hostname for this system.\n\nTHe hostname is a single word that identifies your system to the network.  If you don't know what your hostname should be, consult your network administrator.  If you are setting up your own home network, you can make something up here.\n\nhostname:\n <my-hostname>15:10
cruejonesthen <go-back> or <Continue>15:11
cruejonesand as I mentioned the correct hostname is listed on the line15:11
cruejonesfrom my preseed.cfg:15:12
cruejones# Any hostname and domain names assigned from dhcp take precedence over15:13
cruejones# values set here. However, setting the values still prevents the questions15:13
cruejones# from being shown, even if values come from dhcp. \n d-i netcfg/get_hostname string testhost1 \n d-i netcfg/get_domain string lab.home.com15:13
cjwatsonare you netbooting?15:17
cruejonesyes15:17
cjwatsonwhen you're netbooting and supplying a URL for preseeding, the preseed file can only be loaded once you have networking up15:19
cjwatsonthus, all the questions needed to get that far need to be preseeded on the kernel command line15:19
cruejonesyes, my preseed file gets loaded via http and all the preseed values are working expect this hostname requiring manual intervention15:23
cruejonesIn the example preseed on the ubuntu website there is a comment about not being prompted for hostname15:26
cruejones# Any hostname and domain names assigned from dhcp take precedence over values set here. However, setting the values still prevents the questions from being shown, even if values come from dhcp.15:27
cjwatsonI think you've missed my point slightly - that question is asked before your preseed file is processed15:29
cjwatsontherefore, you need to put "netcfg/get_hostname=testhost1 netcfg/get_domain=lab.home.com" on the kernel command line, rather than putting it in the preseed file15:29
cjwatsonputting it in the preseed file works in some situations but not others - the documentation you refer to expects you to have read its introduction, https://help.ubuntu.com/10.04/installation-guide/i386/preseed-intro.html, which explains the general situation15:30
cruejonesok - but my dhcp sets the initial network/hostname for building and I would like the preseed to only configure the local networking for the subsequent boots15:30
cruejonesso, I use dhcp to build and would like the preseed file to configure local network stack statically15:31
joschicruejones: that's not a problem. just set the hostname and domain to an arbitrary value in the kernel boot parameters (in your pxelinux.cfg/*-file). these will be overwritten by the DHCP client15:32
joschiand of course by the values in the preseed file once it's been fetched15:32
cruejonesjoschi: so by adding some value to get_hostname and get_domain it should stop asking me to confirm hostname?  Is this a bug - wouldn't dhcp just provide the networking (and hostname) necessary for the build15:37
cruejonesand then any static network configurations in preseed would just get configured for next boot.15:38
joschijust append "hostname=unassigned-hostname" to your kernel parameters15:39
cruejonesjoshi: will try now - thanks15:39
joschibut IMHO you are right: hostname and domain *should* be taken from DHCP15:39
joschiwell, they are taken from DHCP but you are asked about the hostname anyway if it's not set15:40
cruejonesright, and I think that might be considered a bug if dhcp provides the hostname - no?15:41
cruejonesor at least that is what I am used to for other Linux installers15:41
cruejonesbtw - it is easy enough to add the "hostname=unassigned-hostname" - not trying to be difficult here - just seems like it should be unnecessary15:43
cjwatsondifference of opinion, basically15:43
cjwatsonDHCP is often assigned by people's ISPs and isn't what they actually want the host to be called15:44
cjwatsonconsumer vs. corporate use cases15:44
cruejonescjwatson: good point - maybe it should be a solution where the installer takes the dhcp hostname value if hostname is not specified on boot line15:44
cjwatsonwell, no, the consumer case is the one that needs to work without special hacking because consumers won't know how to do that15:45
cruejonescjwatson: some truth there I guess - sorry stuck in corporate linux deployments - large scale VDI type stuff15:47
cjwatsonI think hostname=unassigned-hostname is ugly but not too onerous if you're already doing complex preseeding.  (thanks, joschi, I'd forgotten that hostname was an alias for netcfg/get_hostname and that makes it easier)15:49
cjwatsonwe do need to bite the bullet and basically rewrite netcfg's preseeding at some point though, so this is one of the things I expect to be thought about again)15:50
cjwatsons/)$//15:50
cruejoneslast question -hopefully- what is the kernel boot line limit in 10.4? 256?15:55
joschicruejones:  you mean the length of the kernel parameter line?15:56
cruejonesyes15:57
joschidon't know a number, but longer than 25615:57
joschisince mine is 319 chars and working ;)15:57
joschicruejones: 512 chars is the limit.16:00
joschisee http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-lucid.git;a=blob;f=include/asm-generic/setup.h;h=6fc26a51003c32d5e47f6a40bb12f2d4a62e8079;hb=HEAD16:00
cruejonesok - thanks everyone - my hostname issue seems to be working now that I added the "hostname=unassigned-hostname" on the kernel parameter line.16:01
cruejonestesting the remote logging now16:01
joschicjwatson: since the log_host and log_port parameters are not documented - how did you find them?16:05
cjwatsonjoschi: the low-level documentation16:07
joschicjwatson:  source code? ;)16:07
cjwatsonthat's the one16:07
cjwatsonjoschi: actually, I merged the patch originally16:07
cjwatsonso I had an advantage16:07
joschiso you cheated ;)16:07
cruejoneslogging is working for me now - thanks again16:14
joschiI'm trying to set the linux kernel default commandline which grub2 creates to an empty string in my preseed file16:19
joschibut it seems to ignore the receipe16:19
joschiI tried "grub-pc grub2/linux_cmdline_default     string" and "d-i grub2/linux_cmdline_default string" but they seem to be ignored16:20
joschiany ideas?16:20
joschimanually running `dpkg-reconfigure grub-pc` after the installation and the first boot is not an option ;)16:20
cjwatsonprobably a grub-installer bug, it overrides that16:21
cjwatsonbest workaround is probably to write a preseed/late_command script that chroots, runs sed over /etc/default/grub, and update-grub16:21
joschithat's what I'm doing currently but I hoped there was a "clean" way of getting it done16:22
cjwatsonnot really, but please do file a bug on grub-installer in Ubuntu about it16:22
joschicjwatson: FYI https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/58179616:37
ubottuUbuntu bug 581796 in grub-installer "grub-installer ignores grub2/linux_cmdline_default in preseed" [Undecided,New]16:37
cjwatsonthanks16:38
CIA-9usb-creator: rgreening * r306 trunk/ (debian/changelog gui/usbcreator-kde.ui): * Fix cannot resize usb-creator-kde main window (LP: 580551)19:18
ubottuLaunchpad bug 580551 in usb-creator "can not resize dialogue in kde frontend" [Low,Confirmed] https://launchpad.net/bugs/58055119:18
CIA-9usb-creator: rgreening * r307 trunk/ (3 files in 2 dirs): Update branding on KDE Icon (LP: 580558)19:54
ubottuLaunchpad bug 580558 in usb-creator "KDE usb-creator icon is out of date" [Undecided,New] https://launchpad.net/bugs/58055819:54
rgreeningev: hey.19:58
rgreeningev: we'll need to push an update of 0.2.23 usb-creator soonish and get it in lucid due to parted dep issue. That should fix a few bugs/issues.19:59
rgreeningev: thoughts?20:01
rgreeningev: I'd also like to discuss how we can push a backport to karmic (I think that's as far as we can/should go.20:22

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