FAI and non debian installs

Peter Keller psilord at cs.wisc.edu
Tue Jun 17 21:41:10 CEST 2014


On Tue, Jun 17, 2014 at 01:20:41PM -0400, Sylvain Milot wrote:
> to answer your specific question, this is how I do it ... see below ...

That's pretty cool, although I have a question:

> $ faiserver:/home/fai/config# cat class/WHEEZY.var
> FAI_DEBMIRROR=mydebmirror:/debian/wheezy
> FAI_ETC_DIR=/etc/fai-wheezy-amd64
> 
> # we have to copy the appropriate apt config
> 
> if [ -e /etc/apt ] ; then
>     mv /etc/apt{,.tmp}
> fi
> 
> fcopy -c WHEEZY,FAIINSTALL,FAIINSTALLWHEEZY -s /fai/files -t / -ir -M /etc/apt
> 
> $ faiserver:/home/fai/config# cat class/PRECISE.var
> FAI_DEBMIRROR=mydebmirror:/ubuntu
> FAI_ETC_DIR=/etc/fai-precise-amd64
> 
> # we have to copy the appropriate apt config
> 
> if [ -e /etc/apt ] ; then
>     mv /etc/apt{,.tmp}
> fi
> 
> fcopy -c PRECISE,FAIINSTALL,FAIINSTALLPRECISE -s /fai/files -t / -ir -M /etc/apt

Why do you set FAI_ETC_DIR in either of those examples and what are the
differences?

Thank you!

-pete


More information about the linux-fai mailing list