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