summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-14 23:28:12 +0100
committermakefu <github@syntax-fehler.de>2014-03-14 23:28:12 +0100
commitd13ad30fdbf0638cf019f9e3888e5c1c6afd11ef (patch)
treecfaf6db5ca9f8eed0d40c888d6f53a1074804028
parent164ae5c12eb7707ee4f01b2cd1be763be38923b8 (diff)
fix broken arch remaster script
-rwxr-xr-xship/src/remaster_arch_shack_installstick8
1 files changed, 4 insertions, 4 deletions
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 <install-disk (/dev/sdx)>
+ /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" \