diff --git a/lib/fetch-basefile b/lib/fetch-basefile index cf4547ff6..f4e5cd6c3 100755 --- a/lib/fetch-basefile +++ b/lib/fetch-basefile @@ -4,18 +4,13 @@ # # (c) Thomas Lange, 2011-2012 # -# Try to download a CLASSNAME.tar.gz (or tgz, or tar.xz,...) from an URL which matches a class name +# Try to download a file CLASSNAME.tar.gz (or tgz, or tar.xz,...) from an URL +# CLASSNAME must match a FAI class # The URL must provide a listing of all files in there # e.g.: FAI_BASEFILEURL=http://fai-project.org/download/basefiles # # variables needed: $classes, $FAI, $FAI_BASEFILEURL -FAI_BASEFILEURL=http://fai-project.org/download/basefiles -classes="ABC A123 CENTOS SLC6_ ENTOS5_32 DEBIAN SQUEEZE" -FAI=/dev/shm -mkdir -p $FAI/basefiles -verbose=1 - mount_ramdisk() { # put ramdisk on config space and download file