config space using GIT

Jean Spirat jeanspirat at squirk.org
Wed Jan 28 09:15:30 CET 2009


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--  1 root root   58 jan 28 00:31 description
-rw-r--r--  1 root root    0 jan 28 00:32 git-daemon-export-ok
-rw-r--r--  1 root root   23 jan 28 00:31 HEAD
drwxr-xr-x  2 root root 4096 jan 28 00:31 hooks
drwxr-xr-x  2 root root 4096 jan 28 00:32 info
drwxr-xr-x 64 root root 4096 jan 28 00:31 objects
drwxr-xr-x  4 root root 4096 jan 28 00:31 refs



   But at boot i allways have this error:

Calling task_confdir
Kernel currently running: Linux 2.6.26-1-amd64 x86_64 GNU/Linux
Kernel parameters: initrd=initrd.img-2.6.26-1-amd64 ip=dhcp boot=live  
FAI_FLAGS=verbose,createvt FAI_ACTION=install  debug BOOT_IMAGE=vmlinuz-
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose createvt
git+http
Checking out from git
fatal: destination directory '/var/lib/fai/config' already exists.
WARNING: directory /var/lib/fai/config/class not found.
Problems accessing the config space.


 I took care of not having /var/lib/fai/config in the nfsroot so i do 
not know why i have this error. Perhaps a little missconfiguration from 
me :)

Regards,
Jean.



More information about the linux-fai mailing list