fix autodiscover iso generation
authorIan Kelling <iank@fsf.org>
Sun, 2 Sep 2018 23:58:04 +0000 (19:58 -0400)
committerIan Kelling <iank@fsf.org>
Sun, 2 Sep 2018 23:58:04 +0000 (19:58 -0400)
fai-revm

index a11043056a7856369cb0a63ce04737a5974a961f..72f704076d16d71d4810bb11af8d134692049c64 100755 (executable)
--- a/fai-revm
+++ b/fai-revm
@@ -105,7 +105,7 @@ else
       BASEFILE_DIR=/tmp
     fi
     if [[ ! -e $BASEFILE_DIR/autodiscover.iso ]]; then
-      fai-cd -g grub.cfg.autodiscover -f -A $BASEFILE_DIR/autodiscover.iso
+      fai-cd -g $(readlink -f grub.cfg.autodiscover) -f -A $BASEFILE_DIR/autodiscover.iso
     fi
     boot_arg="--cdrom $BASEFILE_DIR/autodiscover.iso"
     e fai-redep