/srv/irclogs.ubuntu.com/2008/08/15/#ubuntu-installer.txt

=== superm1 is now known as superm1|away
=== superm1|away is now known as superm1
twbWith 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?03:20
CIA-1ubiquity: superm1 * r2769 ubiquity/ (debian/changelog scripts/mythbuntu/mythbuntu_summary): update debconf strings for summary page on mythbuntu frontend05:07
superm1twb, try passing the kernel parameter "single"05:08
superm1i'm not sure it will, but if any parameter, that would drop you to a console05:08
twbI still want job control and gettys and stuff05:09
twbCurrently I'm doing it by producing a new CD which doesn't have S??gdm in /etc/init.d/rc?.d05:09
twbBut really I want to have both on a single CD.05:09
superm1ah.  well if there isn't support for this in casper, i think a patch to enable such functionality would make most sense in casper05:09
twbYep05:10
twb(I'll report it against live-initramfs first, though, because I prefer debbugs to launchpad.)05:11
globologhello. anybody knows a way how to change the repositories the alternate installer uses ?09:44
globologor or alternatively a way to prevent the alternate installer from configuring the network interface ?09:45
nasratglobolog: preseeding can change the repos09:50
nasratd-i mirror settings09:52
globologin which file are the repo infos are stored for the installer09:53
globologbasically, i want to prevent the installer from using online repos during install09:53
nasratwhat sort of installation are you doing (cd, network?)09:57
globologcd only09:57
nasratand what problem are you trying to solve by not talking to the repos?09:57
globologok, i need to do a automated kickstart install09:58
globologeverything works fine, but the alternate installer wants to configure a network interface09:58
globologive tried to give it wrong configuration data, but then it complains about not be able to connect09:59
globologso, if i remove the repositories from the installer config, the installer will not be able to download anything10:00
globologi just want to prevent the automated install from downloading anything10:01
persiaglobolog: Why do you want it not to check if there are updates?  I suspect there is an alternate solution to the larger goal.10:03
globologi need a predefined status of packages10:04
globologso i can control through a local repository whick packages are updated10:05
nasratglobolog: so why don't you set the mirror to be your local repo?10:05
globologthats what im trying10:05
nasratok can you paste into pastebin your preseed file10:05
globologthe preseed file is not changed10:06
nasratby that I mean local network repo10:06
nasratnot custom cd10:06
globologbut where do i change the repos the installer uses ?10:06
globologi rather use kickstart10:07
nasratyou mean kickseed?10:08
nasratthat kinda parses ks style configs10:08
globologi 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#kickstart10:09
globologbut i cant define repositories for d-i there10:10
nasratok10:11
nasratso looking at the kickseed src the url handler basically does the10:11
nasrat                                ks_preseed d-i mirror/country string 'enter information manually'10:11
nasratand stuff10:11
globologso the repo info might be in the language file ?10:12
nasratso the ks.cfg stanza would be url --url http://<server>/<dir>10:12
nasratin normal anaconda ks10:12
nasrathandlers/url.sh seems to parse that fine10:13
nasratso just set that in your ks.cfg to your custom mirror10:13
globologbut how can i remove the standard repo mirrors ?10:14
nasratglobolog: have you tried what I suggested?10:14
nasrator are you concerned now about security and update mirrors10:15
nasratif you want full control use preseed directly10:15
nasrator note actually the kickseed seems to support a preseed directive10:16
nasratfrom the sample in the kickseed test source I see preseed apt-setup/security_host string ""10:16
globologbut 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
nasratglobolog: 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 own10:17
nasratyou don't need to mung the installer10:18
nasratyou can do all that through config, both in ks style or a preseed file10:18
nasratI'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 need10:19
persiaIn 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
globologok, i will try that for the next big overhaul10:20
globologproblem for now is im on a time limit10:20
globologso any idea for messing with the installer ?10:21
nasratglobolog: can you paste your ks.cfg somewhere10:21
globologsure10:21
persiaEven 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:21
nasratglobolog: 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 looks10:22
nasratpersia: yeah better to have something correct, a little bit more time getting it right will still save time in the long run10:23
persianasrat: 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:23
globologhttp://paste.ubuntuusers.de/391389/10:24
globologin the sources.list in the file, the local mirrors are correct, but thats a little to late ;-)10:25
nasratok10:25
nasrat1) change line cdrom to be url --url http://mylocal.server.from.sources.list/path/10:26
nasrat2) add a line before packages reading10:26
nasratpreseed apt-setup/security_host string ""10:26
globologbut the install has to run from cd10:26
nasratnote you want to ensure no extra whitespace in that line10:26
nasratglobolog: why10:26
nasratyou're doing a %post to talk to your local server right?10:27
nasratok then just do 2)10:27
nasratwhich will disable the security mirrors10:27
globologis it possible to disable ALL mirrors that way ?10:27
nasratI"m not a debconf expert for the settings for apt--setup10:29
nasratbut I imagine so10:29
globologok im trying that now10:30
nasratyou should be able to do apt-setup/country enter information manually and set the host and path10:30
globologso this might work:10:33
globologpreseed apt-setup/main_host string ""10:33
globologsame for restricted10:33
nasratno those are the wrong strings10:35
nasrathttp://rafb.net/p/WPhWSa96.html10:35
nasratis a non-tested idea for setting up main mirror10:35
nasratyou basically need to look at the debconf stuff for apt-setup and figure what you need to set10:35
nasratglobolog: read the example preseed10:41
nasrat### Apt setup10:41
nasrat# You can choose to install restricted and universe software, or to install10:41
nasrat# software from the backports repository.10:41
nasrat#d-i apt-setup/restricted boolean true10:41
nasrat#d-i apt-setup/universe boolean true10:41
nasrat#d-i apt-setup/backports boolean true10:41
nasrat# Uncomment this if you don't want to use10:41
nasratso in your ks add preseed apt-setup/restricted boolean false10:42
nasratthis is a good reference https://help.ubuntu.com/8.04/installation-guide/example-preseed.txt10:43
globologso this: preseed apt-setup/main boolean false ?10:44
nasratglobolog:NO! read the docs10:46
nasrat1) to set the standard mirror you use the strings I pasted here http://rafb.net/p/WPhWSa96.html10:47
nasratto disable the other repos use the restricted, universe, backports10:47
globologok, so:10:48
globologpreseed apt-setup/restricted boolean false10:48
globologpreseed apt-setup/universe boolean false10:48
globologpreseed apt-setup/backports boolean false10:48
nasratok and if you read the docs you might see10:48
nasrat# Uncomment this if you don't want to use a network mirror.10:48
nasrat#d-i apt-setup/use_mirror boolean false10:48
nasratI would suggest you add that in as well10:49
globologmight this work for main ?10:49
nasratwhy don't you try it!10:49
globologlike this: preseed apt-setup/use_mirror boolean false ?10:50
nasratcorrect10:50
globologok, ill try10:50
persiaglobolog: 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:50
nasratI'd probably put those lines together right above %packages10:51
globologthat is done in the %post section, i have a sources.list ready for that10:51
nasratglobolog: but you can set that up in preseed10:52
nasratand use the proper mechanism not file munging10:52
nasrateg http://rafb.net/p/WPhWSa96.html10:52
nasratbut try an install with those 5 settings  (no security host string, disable mirror, turn off restricted, universe and backports)10:53
globolognothing like some sweet quick&dirty, right ?10:53
globologbut ill work myself into preseeding next week allright10:54
globologok, install is running10:54
globologlets see if it keeps itself local10:55
globologsomething a little easier: how can i prevent the language selection at the boot screen (e.g. preselect a language ?)10:56
globologforgive my little knowledge, but i just moved over from fedora monday (thats the reason for using kickstart)10:58
nasratglobolog: what problem are you actually trying to solve?10:58
nasratfor automated installs I much prefer network boot using pxe, and you'd just add that into your pxelinux.cfg append10:58
globologthe language selection pops up when u boot from cd - it just annoys me10:59
nasratI imagine that's in the isolinux config10:59
globologi have to install servers that might not be able to connect to the klocal repo11:00
globologhmm... looks good until here11:01
nasratthe language selection is done by gfxboot, you should be able to add options to isolinux.cfg to set the locale, consult your friendly neighbourhood documentation11:07
=== nasrat_ is now known as nasrat
* nasrat glares at his dsl11:24
=== nasrat_ is now known as nasrat
=== superm1 is now known as superm1|away
=== superm1|away is now known as superm1
hachiwhat network am I on here?20:07
hachiahh, freenode20:07
udit99anyone know if cdimage scripts can be pointed to multiple local-mirrors ?20:10
=== superm1 is now known as superm1|away

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