From d13ad30fdbf0638cf019f9e3888e5c1c6afd11ef Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 14 Mar 2014 23:28:12 +0100 Subject: fix broken arch remaster script --- ship/src/remaster_arch_shack_installstick | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ship') diff --git a/ship/src/remaster_arch_shack_installstick b/ship/src/remaster_arch_shack_installstick index ea594fb2..3ad985af 100755 --- a/ship/src/remaster_arch_shack_installstick +++ b/ship/src/remaster_arch_shack_installstick @@ -13,13 +13,13 @@ isodir=$bdir/iso isomnt=$bdir/isomount rootdir=$bdir/root outdir=$bdir/out -auto_url=${2:conf.krebsco.de/arch_autoinstall} +auto_url=${2:-conf.krebsco.de/arch_autoinstall} info "bdir is at $bdir" [ ! -e "$isofile" ] && die "$isofile does not exist." esudo "$@" arch_label="$(get_volid "$isofile")" info "Arch iso label is ${arch_label}" - +info "auto_url is $auto_url" info "cleanup root dir" rm -rf $bdir @@ -59,7 +59,7 @@ Just Wait until everything finished. - Make sure that RJ45 is connected - you can bail out of the progress at any time with CTRL-C - /krebs/autoinstall + /krebs/autoinstall (args) EOD /krebs/autoinstall EOL @@ -91,7 +91,7 @@ rm -f "${outdir}/${outfile}" xorriso -as mkisofs \ -iso-level 3 \ -full-iso9660-filenames \ - -volid "ARCH_201311" \ + -volid "${arch_label}" \ -appid "Shackspace Krebs Installer" \ -publisher "Shackspace/Krebs" \ -preparer "prepared by krebs" \ -- cgit v1.2.3