| _julian_ (~quassel@hmbg-4d06871a.pool.mediaWays.net) joined #fai. |
| _julian (~quassel@hmbg-5f767508.pool.mediaWays.net) left irc: Ping timeout: 480 seconds |
| samwise (~samwise@120.154.251.104) joined #fai. |
| 04:57 samwise | Hi all - could someone please enlighten me as to the best way a small feature request w/ patch might be submitted? |
| 05:06 samwise | I would like to add support for Python scripts to fai-do-scripts so that python can be used if available |
| 05:07 samwise | And have been accomplishing this by manually altering fai-do-scripts in the NFS root generated by fai-setup as follows: |
| 05:07 samwise | ~/src/fai-sources# svn diff |
| 05:07 samwise | Index: bin/fai-do-scripts |
| 05:07 samwise | =================================================================== |
| 05:08 samwise | --- bin/fai-do-scripts (revision 6633) |
| 05:08 samwise | +++ bin/fai-do-scripts (working copy) |
| 05:08 samwise | @@ -157,6 +157,14 @@ |
| 05:08 samwise | fc_check_status $file $exitcode | tee -a $LOGDIR/expect.log |
| 05:08 samwise | ;; |
| 05:08 samwise | |
| 05:08 samwise | + *"python"*"script"*) |
| 05:08 samwise | + echo "Executing python: $file" |
| 05:08 samwise | + echo "===== python: $file =====" >> $LOGDIR/python.log 2>&1 |
| 05:08 samwise | + ./$file >> $LOGDIR/python.log 2>&1 |
| 05:08 samwise | + savemaxstatus $? |
| 05:08 samwise | + fc_check_status $file $exitcode | tee -a $LOGDIR/python.log |
| 05:08 samwise | + ;; |
| 05:08 samwise | + |
| 05:08 samwise | *) echo "File $file has unsupported type $filetype." ;; |
| 05:08 samwise | esac |
| 05:08 samwise | } |
| 05:12 samwise | Could someone suggest what the best channel is for this? Here? Mailing list? Debian bug report/feature request? |
| ritesh (c047af02@ircip3.mibbit.com) joined #fai. |
| 05:57 ritesh | hello |
| 05:58 ritesh | can i do installation inside a corporate network using proxy |
| 05:58 ritesh | because when i try to install ubuntu natty using fai it is not able to fetch the packages |
| 06:05 samwise | Hi ritesh |
| 06:05 samwise | I'm in exactly that situation |
| 06:05 samwise | You can either configure APT to use an HTTP proxy |
| 06:05 samwise | Set up a local mirror |
| 06:05 samwise | Or use an APT proxy |
| \sh (~shermann@nat.de.netviewer.com) joined #fai. |
| 06:24 samwise | Ritesh - I checked the implementation in make-fai-nfsroot. You should just be able to add whatever apt configuration you want to /etc/fai/apt/ and run fai-setup to create an NFSROOT that will let you install in your environment. |
| 06:25 samwise | Obviously adjust appropriately if you are using a different configuration directory |
| 06:31 samwise | So does anyone have any tips about how to best submit a feature request (including an example implementation)? |
| mfl (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) got netsplit. |
| msantana (msantana@SDF.ORG) got netsplit. |
| Guest1084 (~mt@shell.forsyte.informatik.tu-darmstadt.de) got netsplit. |
| samwise (~samwise@120.154.251.104) got netsplit. |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) got netsplit. |
| Guest1084 (~mt@shell.forsyte.informatik.tu-darmstadt.de) returned to #fai. |
| msantana (msantana@SDF.ORG) returned to #fai. |
| mfl (~mfl@adonis.fnb.maschinenbau.tu-darmstadt.de) returned to #fai. |
| samwise (~samwise@120.154.251.104) returned to #fai. |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) returned to #fai. |
| ritesh (c047af02@ircip3.mibbit.com) left irc: Quit: http://www.mibbit.com ajax IRC Client |
| Nick change: samwise -> smatthews |
| smatthews (samwise@120.154.251.104) left #fai. |
| smatthews (~samwise@120.154.251.104) joined #fai. |
| smatthews (samwise@120.154.251.104) left #fai. |
| ritesh (c2ed8e14@ircip3.mibbit.com) joined #fai. |
| 06:52 ritesh | hello |
| 06:52 ritesh | actually am done with fai-setup |
| 06:52 ritesh | created nfsroot |
| 06:53 ritesh | now when i try to install one laptop using fai i need proxy in that case |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| \sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection |
| sneumann (~sneumann@82.113.99.181) joined #fai. |
| sneumann (~sneumann@82.113.99.181) left irc: Ping timeout: 480 seconds |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| 08:22 ritesh | hello mr fai |
| 08:23 ritesh | is dere anyone to solve my problem |
| 08:24 oz__ | explain your problem properly |
| 08:24 ritesh | i am trying to install ubuntu natty |
| 08:24 ritesh | i have created nfsroot |
| 08:24 ritesh | but till den my local mirror for natty gets build i want to install natty through internet |
| 08:25 ritesh | but due to corporate network it is not able to fetch packages from internet |
| sneumann (~sneumann@89.204.153.218) joined #fai. |
| 08:26 ritesh | i tried using /etc/envoirnment file and putting proxy in it |
| 08:26 ritesh | but it is not able to fetch the package |
| 08:27 oz__ | your fai server, can this box fetch packages? |
| 08:27 oz__ | generally: this isn't a FAI question |
| 08:28 oz__ | but: did you read about how to set up approx? |
| 08:29 ritesh | the laptop in which iam trying to install natty through fai..is not able to fetch packages |
| 08:30 ritesh | because of a proxy needed in my network to go to internet |
| 08:30 ritesh | and wat is approx |
| 08:33 ritesh | yes fai server can fetch package |
| 08:33 ritesh | from internet |
| 08:37 glance | http://pastebin.ubuntu.com/654313/ |
| 08:39 ritesh | glance iam using fai-cd to install my laptops |
| 08:39 ritesh | so cat /export/install-ubuntu/fai/files/etc/apt/apt.conf.d/01proxy/DEFAULT |
| 08:39 ritesh | i have to edit this file in nfsroot |
| sneumann (~sneumann@89.204.153.218) left irc: Ping timeout: 480 seconds |
| 08:40 glance | or you just deploy it from your config tree so it ends up in the nfsroot directly. |
| 08:40 ritesh | ok.. |
| 08:40 ritesh | but if i mention it in config tree this file would be copied at the last when the scripts are executed |
| 08:41 glance | no. |
| 08:41 glance | not if you place it in the apt-config for the nfsroot |
| 08:41 ritesh | ok |
| 08:42 ritesh | if i change this file in nfsroot and when this nfsroot gets mouted on the client can it work |
| 08:44 glance | if you hand-tinker with the nfsroot, you just going to end up with a mess. deploy it from the conf tree instead. /etc/fai/ by default. |
| 08:44 ritesh | ok |
| 08:45 glance | you place your 01proxy in /etc/fai/apt/apt.conf.d/ |
| 08:45 ritesh | can you tell me the correct path is it /etc/fai/apt/ |
| 08:45 ritesh | ok |
| 08:46 ritesh | n when i make nfsroot these files from /etc/fai/ gets copies to /srv/fai/nfsroot/........./etc/fai/apt/ |
| 08:47 glance | /etc/fai/(apt/.*) -> $NFSROOT/.../etc/$1 |
| 08:49 ritesh | so at the last if i make changes in /etc/fai/apt/ i have to make changes in /srv/fai/nfsroot/etc/fai/apt/ |
| 08:49 ritesh | because i have already builded nfsroot |
| 08:49 glance | no. you need to run make-fai-nfsroot. |
| 08:49 ritesh | ohk |
| 08:50 ritesh | thanxs i will try will revert back to u. |
| 08:51 ritesh | can i have your any mail id so that if i get stuck some where can ask you |
| 08:51 Mrfai | ritesh: if you have any problems, please ask on the linux-fai mailing list. |
| 08:53 ritesh | ok |
| 08:53 ritesh | sure |
| 08:53 ritesh | thanxs |
| ritesh (c2ed8e14@ircip3.mibbit.com) left irc: Quit: http://www.mibbit.com ajax IRC Client |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) left irc: Ping timeout: 480 seconds |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) joined #fai. |
| cherwin (~cherwin@blackmamba.xs4all.nl) joined #fai. |
| dingz (~weechat@home.zedat.fu-berlin.de) joined #fai. |
| 13:22 dingz | what does the "mount.nfs" do in make-fai-nfsroot? |
| 13:23 dingz | it somehow tries to mount my $FAI_DEBMIRROR which doesn't make sense caouse its a http:// mirror |
| 14:27 Mrfai | you have to comment out FAI_DEBMIRROR if you do not use NFS. |
| 14:29 dingz | Mrfai: thx, i just figured that from the fai guide - good to know it's the correct solution :) |
| 14:30 Mrfai | It's also described in fai.conf itself. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) left irc: Ping timeout: 480 seconds |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| Nic0 (~courtel@fw.tls.cena.fr) left irc: Quit: Leaving. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) joined #fai. |
| alekibango (~alekibang@ip-94-113-217-67.net.upcbroadband.cz) left irc: Remote host closed the connection |
| pav5088 (~Mark@ppp118-208-20-87.lns20.bne1.internode.on.net) left irc: Quit: Leaving |
| --- Sat Jul 30 2011 |