Re: FAI 3.2.20 on Ubuntu 8.04 (hardy)

2009-08-11 Diskussionsfäden Darshaka Pathirana
On 11.08.2009 10:40, Henning Sprang wrote: > Garb Dowle wrote: >> currently I have FAI 3.2.4+svn4837-0ubuntu2 installed on Ubuntu 8.04 >> Server. I managed to set it up so that I can successfully install Ubuntu >> 8.04 clients with PXE. >> >> [snip] >> >> So how can I use setup-storage with LVM sup

setup-storage: set vgname to hostname

2009-09-24 Diskussionsfäden Darshaka Pathirana
Hi! I have the following disk_config-layout using setup-storage: , | disk_config sda bootable:1 fstabkey:uuid | primary /boot 250 ext3 rw | primary - 1500- - - | disk_config lvm | vg faiclient sda2 | faiclient-root / 250- ext3 rw,errors=remo

Re: setup-storage: set vgname to hostname

2009-09-25 Diskussionsfäden Darshaka Pathirana
On 24.09.2009 12:30, Thomas Neumann wrote: > On 24.09.2009 10:50, Thomas Lange wrote: > >> You can write a hook that replaces $HOSTNAME with the current >> hostname. This is the easiest way. > > As a bonus: It even works! > > ;) Cool! Thx! I'll give it a try! Just to be sure: I am really suppos

[PATCH]: fai-config with hg+http support

2009-09-26 Diskussionsfäden Darshaka Pathirana
2002-2006 Henning Glawe +# (c) 2007 Holger Levsen for the modifications to use git +# (c) 2009 Darshaka Pathirana for the modifications to use hg + +### BEGIN SUBROUTINE INFO +# Provides-Var: +# Requires-Var:$FAI_CONFIG_SRC $FAI $LOGDIR +# Suggests-Var: +# Short-Description: get $FAI f

Re: restarting services if config files were changed

2009-09-29 Diskussionsfäden Darshaka Pathirana
On 09/29/2009 01:38 PM, Thomas Lange wrote: >> On Mon, 28 Sep 2009 21:29:44 +0200, Andreas Schuldei >> said: > > > i am in the process to create infrastructure for restarting > > services which configuration files changed in the current > > softupdate run. > > > currentl

Re: setup-storage: set vgname to hostname

2009-09-29 Diskussionsfäden Darshaka Pathirana
On 09/30/2009 12:11 AM, Jean Spirat wrote: > >> I prefer using my own variables in my own namespace and initialize >> them from a "known good" source - like $HOSTNAME. This may not be >> the most obvious solution, but this way you can guarantee that >> "your" variable has a valid value. And if $HO

problems with PATTERN/LINE in ainsl(1)

2009-09-29 Diskussionsfäden Darshaka Pathirana
Hi! I have something like this: #! /bin/sh ainsl -a $target/etc/sudoers "%adm ALL = NOPASSWD: /bin/su -[mp]" exit 0 Got the expected output (in /etc/sudoers without LINE): %adm ALL = NOPASSWD: /bin/su -[mp] Running again (now containing LINE) leads to: %adm ALL = NOPASSWD: /bin/su -[mp]

Re: problems with PATTERN/LINE in ainsl(1)

2009-09-29 Diskussionsfäden Darshaka Pathirana
On 30.09.2009 02:32, Darshaka Pathirana wrote: > Hi! > > I have something like this: > > > #! /bin/sh > ainsl -a $target/etc/sudoers "%adm ALL = NOPASSWD: /bin/su -[mp]" > exit 0 > > > Got the expected output (in /etc/sudoers without LINE

Re: problems with PATTERN/LINE in ainsl(1)

2009-09-29 Diskussionsfäden Darshaka Pathirana
On 30.09.2009 02:40, Darshaka Pathirana wrote: > On 30.09.2009 02:32, Darshaka Pathirana wrote: >> Hi! >> >> I have something like this: >> >> >> #! /bin/sh >> ainsl -a $target/etc/sudoers "%adm ALL = NOPASSWD: /bin/su -[mp]" >> exit

Re: problems with PATTERN/LINE in ainsl(1)

2009-09-30 Diskussionsfäden Darshaka Pathirana
On 30.09.2009 09:02, Juergen Kahnert wrote: > Hi, > > On Wed, Sep 30, 2009 at 03:06:41AM +0200, Darshaka Pathirana wrote: >>>> ainsl -a $target/etc/sudoers "%adm ALL = NOPASSWD: /bin/su -[mp]" >> Any help greatly appreciated. Thanks! > > try this as a

Re: setup-storage: set vgname to hostname

2009-10-18 Diskussionsfäden Darshaka Pathirana
On 10/15/2009 10:10 PM, Michael Tautschnig wrote: > Darshaka Pathirana wrote: >> Hmm. I don't think I understand what you mean. I mean I HAVE tried >> using $HOSTNAME in my disk_config-layout with setup-storage and it did >> NOT work (at least for me - see my

Re: fai3.3 + karmic

2009-11-09 Diskussionsfäden Darshaka Pathirana
On 11/09/2009 06:48 PM, Henning Sprang wrote: > On Mon, Nov 9, 2009 at 6:43 PM, Bent Meyer wrote: >> I have upgrade from fai-3.2.20 to fai-3.3 and from Ubuntu Jaunty to >> Karmic. It does work well, > > Interesting. > So, you're installing plain FAI from teh Uni Käln apt repository or from > whe

Re: problems with PATTERN/LINE in ainsl(1)

2009-11-19 Diskussionsfäden Darshaka Pathirana
On 10/15/2009 10:12 PM, Michael Tautschnig wrote: >> On 30.09.2009 09:02, Juergen Kahnert wrote: >>> Hi, >>> >>> On Wed, Sep 30, 2009 at 03:06:41AM +0200, Darshaka Pathirana wrote: >>>>>> ainsl -a $target/etc/sudoers "%adm ALL = NOPASSWD:

Re: FAI and windows

2010-01-11 Diskussionsfäden Darshaka Pathirana
Hi! On 01/02/2010 11:48 PM, Martin Schulte wrote: > > after some startup-problems, FAI works very well. And I'm surprised by > the time needed to install a system! > I have some clients, which have to arrange with a dual boot: windowsXP > and linux. Up to know, I created a iso with the XP-iso-bui

Problems with apt-get source

2010-01-20 Diskussionsfäden Darshaka Pathirana
Hey! I am having problems doing: % apt-get source fai-quickstart Reading package lists... Done Building dependency tree Reading state information... Done E: Could not open file /var/lib/apt/lists/www.informatik.uni-koeln.de_fai_download_dists_lenny_koeln_source_Sources - open (2 No such fi

RAID1 and grub - again

2010-01-22 Diskussionsfäden Darshaka Pathirana
Hi! I am absolutely aware that this question must have been asked a zillion times but I still need to ask: What is the "preferred" way to install grub (-legay|-pc) on a LVM-on-RAID-system with a separate boot-partition? The disk_config looks like this: # example of new config file for setup-st

Re: Problems with apt-get source

2010-01-22 Diskussionsfäden Darshaka Pathirana
Hi! On 01/20/2010 07:05 PM, Darshaka Pathirana wrote: > > I am having problems doing: > > % apt-get source fai-quickstart > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Could not open file > /var/lib/a

Re: RAID1 and grub - again

2010-01-28 Diskussionsfäden Darshaka Pathirana
Hi! On 01/22/2010 06:59 PM, Waldemar Brodkorb wrote: > Darshaka Pathirana wrote, > >> examples provided by "fai-doc". >> >> And I also just tried "GRUB_PC" which failed to install a working boot >> menu. (I have to admit: I am completely new to

Re: RAID1 and grub - again

2010-01-31 Diskussionsfäden Darshaka Pathirana
On 01/28/2010 09:06 PM, Cristian Ionescu-Idbohrn wrote: > On Thu, 28 Jan 2010, Darshaka Pathirana wrote: > >> diff -r 282adc0454ed class/50-host-classes >> --- a/class/50-host-classes Mon Jan 25 12:38:32 2010 +0100 >> +++ b/class/50-host-classes Thu Jan 28 18:27:1

GRML-Kernel, make-nfs-root and initrd

2010-02-16 Diskussionsfäden Darshaka Pathirana
Hi! On 11/24/2009 09:35 AM, Thomas Lange wrote: >> On Tue, 24 Nov 2009 10:05:10 +0100, Carsten Aulbert >> said: > > > the systems afterwards are running Greg's 2.6.27.y kernel. Our latest > systems > > feature an Intel ...75L NIC which was only introduced into 2.6.28. We > ma

Re: GRML-Kernel, make-nfs-root and initrd

2010-02-17 Diskussionsfäden Darshaka Pathirana
On 02/16/2010 02:50 PM, Thomas Lange wrote: >>>>>> On Tue, 16 Feb 2010 14:37:38 +, Darshaka Pathirana >>>>>> said: > > > Isn't it possible to let the initrd be created by the postinst-script > > from the kernel-package withou

FAI + hylafax + faisetup

2010-03-01 Diskussionsfäden Darshaka Pathirana
Hi! Did somebody install hylafax with FAI? Base-Installation works fine but I still was not able to find a switch to disable the faxsetup-prompts? So does anyone have a working solution? Any help would be very nice! Greetings, - Darsha

Re: FAI + hylafax + faisetup

2010-03-04 Diskussionsfäden Darshaka Pathirana
On 03/01/2010 08:01 PM, Michael Tautschnig wrote: >> >> Did somebody install hylafax with FAI? >> >> Base-Installation works fine but I still was not able to find a >> switch to disable the faxsetup-prompts? >> >> So does anyone have a working solution? >> >> Any help would be very nice! >> > > I

[softupdate] force-confnew on specific package.

2010-03-18 Diskussionsfäden Darshaka Pathirana
Hi! I just stubled over [1] and wonder how one can set "--force-confnew" when attempting a softupdate on a specific package. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313397 For now I've created /etc/apt/apt.conf.d/90mypackage: DPkg { Options {"--force-confnew";} } So the questio

Re: [softupdate] force-confnew on specific package.

2010-03-22 Diskussionsfäden Darshaka Pathirana
On 03/19/2010 01:18 AM, Michael Tautschnig wrote: Hi! I just stubled over [1] and wonder how one can set "--force-confnew" when attempting a softupdate on a specific package. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313397 For now I've created /etc/apt/apt.conf.d/90mypackage: DPkg

Re: [softupdate] force-confnew on specific package.

2010-03-22 Diskussionsfäden Darshaka Pathirana
On 03/22/2010 01:51 PM, Michael Tautschnig wrote: [...] As you only want this for a single package and only once, I'd suggest you create a hook instsoft.FOO (for a proper class FOO) that does - create 90mypackage with the above contents - apt-get install theonepackage - rm 90mypackage >> Hmm

Re: FAI Stable release 3.4.4 available

2010-10-17 Diskussionsfäden Darshaka Pathirana
Hey Mika! On 10/15/2010 01:30 PM, Michael Prokop wrote: > > as promised I just released FAI stable release 3.4.4. > > Binary packages of FAI 3.4.4 are available at: > >http://people.debian.org/~mika/fai/release/ > > [snip] > > Please upgrade to FAI 3.4.4 and report back if you notice any

Re: FAI Stable release 3.4.4 available

2010-10-19 Diskussionsfäden Darshaka Pathirana
Hi! On 10/18/2010 03:58 PM, Michael Tautschnig wrote: > [...] > >> >> Would you mind doing that *now*? Well, probably it suffices if you just >> replace >> 10-setup with the attached version. The code in stable (and trunk) is known >> to >> work only in very simple cases, but proper testing of

Re: Using two DHCP daemons in the same subnet, ignore a specific client

2010-10-19 Diskussionsfäden Darshaka Pathirana
On 10/06/2010 02:12 PM, Thomas Lange wrote: If you have two DHCP daemons in the subnet of your FAI infrastructure, and one uses the option allow unknown-clients you are in trouble, because if this daemon responses faster it will give the install client an IP address and the other daemon has no ch

Re: Question/Problem with setup-storage

2012-08-04 Diskussionsfäden Darshaka Pathirana
On 08/03/2012 08:16 AM, Ralf Aumueller wrote: > Hello, > > I try to partition my disk like this: > > - Preserve partition 1 (Windows) > - create 500MB /boot > - create 20GB for LVM > - create LVs for filesystems > > using the following config file for setup-storage: > > # > # LVM config > # > #