config space using GIT

2009-01-28 Thread Jean Spirat
Hello, i tried to use GIT for the config file path. I used: FAI_CONFIG_SRC=git+http://10.1.0.251/config and in the documentroot is : fai01:/# ll /var/www/nginx-default/config/ total 32 drwxr-xr-x 2 root root 4096 jan 28 00:31 branches -rw-r--r-- 1 root root 66 jan 28 00:31 config -rw-r--r

Re: config space using GIT

2009-01-28 Thread Jean Spirat
ok error found, do NOT call you directory 'var/www/nginx-default/config/ ', i changed to 'configuration' and now it works... Jean.

setup-storage and AOE => fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Thread Jean Spirat
Hello, To continue the AOE experience now FAI works and start but it fail if i put an AOE storage disk: Calling task_install Calling task_partition Partitioning local harddisks using setup-storage Starting setup-storage 1.0.3 Using config file: /var/lib/fai/config/disk_config/FAIBASE Executin

RE: fai-cd for full cd installation

2009-01-28 Thread akr lot
Hi adrian The problem comes from 2... you do not want to have any NFS mount, isn't it? You want all the data to be found (All the packages you need?) in the cdrom? Isn't it? Also all the scripts that are defined under fai configuration directories? Yes i don't want to mount nfs because som

Re: setup-storage and AOE => fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Thread Jean Spirat
I tried to change the file: /usr/share/fai/setup-storage/Init.pm i modified the regex in this part: : sub phys_dev { my ($dev) = @_; if ($dev =~ m{^/dev/(etherd/e\d+\.\d+)p(\d+)?$}) { defined("$2") or return (1, "/dev/$1", -1); return (1, "/dev/$1", $2); } elsif ($dev =~ m{^/dev/(i2

Re: setup-storage and AOE => fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Thread Jean Spirat
i also found in /usr/lib/fai/disk-info a regex where i added etherd: egrep ' etherd/e| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b' /proc/partitions | diskandsize is that enough ? regards, Jean.

Re: setup-storage and AOE => fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Thread Jean Spirat
Jean Spirat a écrit : i also found in /usr/lib/fai/disk-info a regex where i added etherd: egrep ' etherd/e| i2o/hd.\b| cciss/c.d.\b| ida/c.d.\b| rd/c.d.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b' /proc/partitions | diskandsize is that enough ? regards, Jean. i changed to egrep ' etherd/e[

Re: setup-storage and AOE => fails at Use of uninitialized value in multiplication (*) at /usr/share/fai/setup-storage//Sizes.pm line 618.

2009-01-28 Thread Jean Spirat
ok so now i got the etherdrive disk listed in the debug output but all fail nonetheless so i am lost at why the tool fail, here are the logs if it helps. regards, Jean. Calling task_install Calling task_partition Partitioning local harddisks using setup-storage Starting setup-storage 1.0.3