| _julian_ (~quassel@hmbg-5f7636b2.pool.mediaWays.net) joined #fai. |
| _julian (~quassel@hmbg-5f764ea2.pool.mediaWays.net) left irc: Ping timeout: 480 seconds |
| _julian (~quassel@hmbg-5f765f95.pool.mediaWays.net) joined #fai. |
| _julian_ (~quassel@hmbg-5f7636b2.pool.mediaWays.net) left irc: Ping timeout: 480 seconds |
| _julian__ (~quassel@hmbg-5f765f95.pool.mediaWays.net) joined #fai. |
| _julian (~quassel@hmbg-5f765f95.pool.mediaWays.net) left irc: Ping timeout: 480 seconds |
| sneumann (~sneumann@p5B0F3F63.dip.t-dialin.net) joined #fai. |
| sneumann (~sneumann@p5B0F3F63.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai. |
| 08:00 sneumann | hi, I'd like to configure an apt proxy, |
| 08:01 sneumann | so I have a file /etc/apt/apt.conf.d/10proxy |
| 08:01 sneumann | which I'd liek to get into the nfsroot |
| \sh (~shermann@nat.de.netviewer.com) joined #fai. |
| 08:03 \sh | moins |
| 08:05 osmo | sneumann: to have it in your nfsroot i think you want to put it in your /etc/fai or whatever your nfsroot config dir is |
| 08:06 osmo | we put it in /etc/lennyroot/apt/apt.conf where lennyroot is our nfsroot config dir |
| 08:07 osmo | called with 'make-fai-nfsroot -C /etc/lennyroot' |
| 08:07 osmo | but default is /etc/fai, right? =) |
| 08:12 sneumann | yes, that's the default |
| 08:13 sneumann | I've got my 10proxy now in the nfsroot, but still not in the /target on the install client |
| 08:13 osmo | ah |
| 08:13 sneumann | which is pulling the majority of the *.debs afterwards, isn't it ? |
| 08:14 osmo | you need it in /srv/fai/config/files/etc/apt/apt.conf.d/10proxy/DEFAULT as well |
| 08:14 sneumann | that answers my question how to get 10proxy into /srv/fai/nfsroot/live/filesystem.dir/var/tmp/base.tgz |
| 08:14 osmo | /etc/fai is for building the nfsroot that is later mounted on your install client |
| 08:16 sneumann | do I need some script to copy it from files ? |
| 08:16 sneumann | with some fcopy in it ? |
| 08:16 osmo | yes, was just looking at that |
| 08:16 osmo | yeah, exactly |
| 08:17 osmo | probably somewhere under /srv/fai/config/scripts/ |
| 08:17 osmo | we have it in that directory/LAST/56-files |
| 08:18 osmo | fcopy -iB /etc/apt/apt.conf.d/10proxy |
| 08:18 osmo | would be it |
| 08:18 osmo | but i guess that is for your installed system |
| 08:18 osmo | for the installation the proxy config should follow with the nfsroot creation from /etc/fai |
| 08:19 sneumann | similar to cat <<EOF >$NFSROOT/etc/apt/apt.conf.d/10fai |
| 08:19 sneumann | inside make-fai-nfsroot |
| 08:21 sneumann | Hm, debootstrap *is* using the right thing |
| 08:21 sneumann | I: Checking component main on http://cumulus:3142/de.archive.ubuntu.com/ubuntu... |
| 08:21 sneumann | but still, how do I get 10proxy into base.tgz ?? |
| 08:31 \sh | base.tgz is the system you install on /target later on...so just fcopy it inside a class |
| 08:31 \sh | or untar the base.tgz somewhere, move 10proxy into it, and tar gz it again.. |
| 08:32 \sh | eventually you can also overwrite the prepareapt hook |
| 08:32 sneumann | so the etc/apt/* in base.tgz is the pristine directory from whatever debootstrap put there |
| 08:33 \sh | yes |
| HerrK (keryell@m3.wifi.enstb.org) joined #fai. |
| 08:41 sneumann | ack, works now. I had looked for something simpler, but makes sense now |
| 08:43 osmo | you can also use pbuilder to --login to a --basetgz base.tgz and --save-after-login |
| 08:44 sneumann | the config/files + fcopy looks cleaner, I don't want to do that pbuilder with each fai-setup ... |
| 08:44 osmo | true |
| 08:45 osmo | i actually thought that config whas copied from /etc/fai to the base.tgz when the nfsroot was built |
| 08:45 sneumann | me too :-) |
| 08:45 sneumann | and the 10proxy *is* inside the nfsroot |
| 08:45 osmo | maybe it's copied from /etc/apt ? |
| 08:45 sneumann | but not (yet) in the base.tgz |
| 08:46 osmo | we have separated our base.tgz-files though |
| 08:46 sneumann | seems that etc/fai/apt is copied to base.tgz *after* creating base.tgz ? |
| 08:46 osmo | and --update them with pbuilder in a cronjob |
| 08:49 \sh | sneumann: when the install process starts, there are some files which are copied to the /target dir (which is the untared base.tgz) (e.g. the /etc/hosts are copied from nfsroot to the /target/etc/hosts) |
| 08:50 \sh | sneumann: the best thing to do is to overwrite the prepareapt hook |
| 08:55 osmo | does the fai repo have a keyring package? |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) left irc: Remote host closed the connection |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) left irc: Remote host closed the connection |
| HerrK (keryell@m3.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| vicky_ (~luser@dhcp-83-219-97-225.customers.tvtnet.ch) joined #fai. |
| vicky (~luser@dhcp-83-219-97-225.customers.tvtnet.ch) left irc: Ping timeout: 480 seconds |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| HerrK (keryell@m3.wifi.enstb.org) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Remote host closed the connection |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| \sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection |
| HerrK (keryell@m3.wifi.enstb.org) left irc: Ping timeout: 480 seconds |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| juri_ (~juri@24.248.213.223) left irc: Ping timeout: 480 seconds |
| juri_ (~juri@24.248.213.223) joined #fai. |
| sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Ping timeout: 480 seconds |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving |
| sneumann (~sneumann@p5B0F3F63.dip.t-dialin.net) joined #fai. |
| sneumann_ (~sneumann@p5B0F4D7B.dip.t-dialin.net) joined #fai. |
| sneumann (~sneumann@p5B0F3F63.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| sneumann_ (~sneumann@p5B0F4D7B.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds |
| pav5088 (~Mark@ppp118-208-178-96.lns20.bne4.internode.on.net) left irc: Remote host closed the connection |
| pav5088 (~Mark@ppp118-208-178-96.lns20.bne4.internode.on.net) joined #fai. |
| pav5088 (~Mark@ppp118-208-178-96.lns20.bne4.internode.on.net) left irc: Quit: Leaving |
| --- Wed Feb 2 2011 |