=== superm1 is now known as superm1|away === superm1|away is now known as superm1 [03:20] With the 8.04 live cd, is it possible to disable X and GNOME from starting; analogous to the kernel parameter "2" in Knoppix 3.x? [05:07] ubiquity: superm1 * r2769 ubiquity/ (debian/changelog scripts/mythbuntu/mythbuntu_summary): update debconf strings for summary page on mythbuntu frontend [05:08] twb, try passing the kernel parameter "single" [05:08] i'm not sure it will, but if any parameter, that would drop you to a console [05:09] I still want job control and gettys and stuff [05:09] Currently I'm doing it by producing a new CD which doesn't have S??gdm in /etc/init.d/rc?.d [05:09] But really I want to have both on a single CD. [05:09] ah. well if there isn't support for this in casper, i think a patch to enable such functionality would make most sense in casper [05:10] Yep [05:11] (I'll report it against live-initramfs first, though, because I prefer debbugs to launchpad.) [09:44] hello. anybody knows a way how to change the repositories the alternate installer uses ? [09:45] or or alternatively a way to prevent the alternate installer from configuring the network interface ? [09:50] globolog: preseeding can change the repos [09:52] d-i mirror settings [09:53] in which file are the repo infos are stored for the installer [09:53] basically, i want to prevent the installer from using online repos during install [09:57] what sort of installation are you doing (cd, network?) [09:57] cd only [09:57] and what problem are you trying to solve by not talking to the repos? [09:58] ok, i need to do a automated kickstart install [09:58] everything works fine, but the alternate installer wants to configure a network interface [09:59] ive tried to give it wrong configuration data, but then it complains about not be able to connect [10:00] so, if i remove the repositories from the installer config, the installer will not be able to download anything [10:01] i just want to prevent the automated install from downloading anything [10:03] globolog: Why do you want it not to check if there are updates? I suspect there is an alternate solution to the larger goal. [10:04] i need a predefined status of packages [10:05] so i can control through a local repository whick packages are updated [10:05] globolog: so why don't you set the mirror to be your local repo? [10:05] thats what im trying [10:05] ok can you paste into pastebin your preseed file [10:06] the preseed file is not changed [10:06] by that I mean local network repo [10:06] not custom cd [10:06] but where do i change the repos the installer uses ? [10:07] i rather use kickstart [10:08] you mean kickseed? [10:08] that kinda parses ks style configs [10:09] i dont know if its like that, but i use a ks.cfg file like here: https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/automatic-install.html#kickstart [10:10] but i cant define repositories for d-i there [10:11] ok [10:11] so looking at the kickseed src the url handler basically does the [10:11] ks_preseed d-i mirror/country string 'enter information manually' [10:11] and stuff [10:12] so the repo info might be in the language file ? [10:12] so the ks.cfg stanza would be url --url http:/// [10:12] in normal anaconda ks [10:13] handlers/url.sh seems to parse that fine [10:13] so just set that in your ks.cfg to your custom mirror [10:14] but how can i remove the standard repo mirrors ? [10:14] globolog: have you tried what I suggested? [10:15] or are you concerned now about security and update mirrors [10:15] if you want full control use preseed directly [10:16] or note actually the kickseed seems to support a preseed directive [10:16] from the sample in the kickseed test source I see preseed apt-setup/security_host string "" [10:17] but there has to be some file in which the mirrors are stored. i know its an unclean method, but can i edit that file directly ? [10:17] globolog: 1) use a url directive to set main mirror 2) user preseed apt-setup/security_host string "" to disable security host or set to your own [10:18] you don't need to mung the installer [10:18] you can do all that through config, both in ks style or a preseed file [10:19] I'm not an expert on the d-i side, but looking through the kickseed source and having done automated d-i installs makes me confident that's all you need [10:20] In fact, by using preseeding, you'll be a lot safer than trying to adjust the installer itself, as if the installer is updated with fixes you want, you can just use it, rather than needing to merge your changes. [10:20] ok, i will try that for the next big overhaul [10:20] problem for now is im on a time limit [10:21] so any idea for messing with the installer ? [10:21] globolog: can you paste your ks.cfg somewhere [10:21] sure [10:21] Even on a time limit, doing it the right way tends to be faster than jamming something in, unless you happen to get very, very lucky. [10:22] globolog: as I said you can use a line in ks.cfg to make it do what you want by using the preseed directive by the looks [10:23] persia: yeah better to have something correct, a little bit more time getting it right will still save time in the long run [10:23] nasrat: Also, one is more likely to be able to find documentation on how to do it right, which can save time when it almost, but doesn't quite work 3 hours before the presentation. [10:24] http://paste.ubuntuusers.de/391389/ [10:25] in the sources.list in the file, the local mirrors are correct, but thats a little to late ;-) [10:25] ok [10:26] 1) change line cdrom to be url --url http://mylocal.server.from.sources.list/path/ [10:26] 2) add a line before packages reading [10:26] preseed apt-setup/security_host string "" [10:26] but the install has to run from cd [10:26] note you want to ensure no extra whitespace in that line [10:26] globolog: why [10:27] you're doing a %post to talk to your local server right? [10:27] ok then just do 2) [10:27] which will disable the security mirrors [10:27] is it possible to disable ALL mirrors that way ? [10:29] I"m not a debconf expert for the settings for apt--setup [10:29] but I imagine so [10:30] ok im trying that now [10:30] you should be able to do apt-setup/country enter information manually and set the host and path [10:33] so this might work: [10:33] preseed apt-setup/main_host string "" [10:33] same for restricted [10:35] no those are the wrong strings [10:35] http://rafb.net/p/WPhWSa96.html [10:35] is a non-tested idea for setting up main mirror [10:35] you basically need to look at the debconf stuff for apt-setup and figure what you need to set [10:41] globolog: read the example preseed [10:41] ### Apt setup [10:41] # You can choose to install restricted and universe software, or to install [10:41] # software from the backports repository. [10:41] #d-i apt-setup/restricted boolean true [10:41] #d-i apt-setup/universe boolean true [10:41] #d-i apt-setup/backports boolean true [10:41] # Uncomment this if you don't want to use [10:42] so in your ks add preseed apt-setup/restricted boolean false [10:43] this is a good reference https://help.ubuntu.com/8.04/installation-guide/example-preseed.txt [10:44] so this: preseed apt-setup/main boolean false ? [10:46] globolog:NO! read the docs [10:47] 1) to set the standard mirror you use the strings I pasted here http://rafb.net/p/WPhWSa96.html [10:47] to disable the other repos use the restricted, universe, backports [10:48] ok, so: [10:48] preseed apt-setup/restricted boolean false [10:48] preseed apt-setup/universe boolean false [10:48] preseed apt-setup/backports boolean false [10:48] ok and if you read the docs you might see [10:48] # Uncomment this if you don't want to use a network mirror. [10:48] #d-i apt-setup/use_mirror boolean false [10:49] I would suggest you add that in as well [10:49] might this work for main ? [10:49] why don't you try it! [10:50] like this: preseed apt-setup/use_mirror boolean false ? [10:50] correct [10:50] ok, ill try [10:50] globolog: If you want them to check a local mirror, you probably do want them to point to something, rather than nothing. Otherwise, you have to configure your local mirror on *each* machine later. [10:51] I'd probably put those lines together right above %packages [10:51] that is done in the %post section, i have a sources.list ready for that [10:52] globolog: but you can set that up in preseed [10:52] and use the proper mechanism not file munging [10:52] eg http://rafb.net/p/WPhWSa96.html [10:53] but try an install with those 5 settings (no security host string, disable mirror, turn off restricted, universe and backports) [10:53] nothing like some sweet quick&dirty, right ? [10:54] but ill work myself into preseeding next week allright [10:54] ok, install is running [10:55] lets see if it keeps itself local [10:56] something a little easier: how can i prevent the language selection at the boot screen (e.g. preselect a language ?) [10:58] forgive my little knowledge, but i just moved over from fedora monday (thats the reason for using kickstart) [10:58] globolog: what problem are you actually trying to solve? [10:58] for automated installs I much prefer network boot using pxe, and you'd just add that into your pxelinux.cfg append [10:59] the language selection pops up when u boot from cd - it just annoys me [10:59] I imagine that's in the isolinux config [11:00] i have to install servers that might not be able to connect to the klocal repo [11:01] hmm... looks good until here [11:07] the language selection is done by gfxboot, you should be able to add options to isolinux.cfg to set the locale, consult your friendly neighbourhood documentation === nasrat_ is now known as nasrat [11:24] * nasrat glares at his dsl === nasrat_ is now known as nasrat === superm1 is now known as superm1|away === superm1|away is now known as superm1 [20:07] what network am I on here? [20:07] ahh, freenode [20:10] anyone know if cdimage scripts can be pointed to multiple local-mirrors ? === superm1 is now known as superm1|away