argonaut.conf copied on new FAI setup isn't correct (wrong IP)
During fai-setup, /etc/argonaut/argonaut.conf is copied to the livefs and then copied to new host. Then argonaut client try to apply on new host all parameters of FAI host !
The backend argonaut for FAI (get-config-dir-argonaut) shoudn't use argonaut-getid tools because it use a wrong argonaut.conf as explained as above
I suggest that get-config-dir-argonaut should detect local Mac addresse and not use MAc provide by argonaut-get.
in get-config-dir-argonaut
replace
MAC=`argonaut-getid`
by
MAC=`ifconfig eth0 | grep HWaddr | awk '{ print $5}'`
but Maybe I misanderstood something !
(from redmine: issue id 3070, created on 2014-03-15, closed on 2014-06-02)
- Changesets:
- Revision 3263cb22 by Côme Chilliet on 2014-03-24T11:30:49.000Z:
Fixes #3070 using FAI provided IP in get-config-dir-argonaut