iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor: docs
[automated-distro-installer]
/
debian-pxe-preseed
diff --git
a/debian-pxe-preseed
b/debian-pxe-preseed
index 31a038a052a59a969f84e9deda6a406b3f0037a2..aaef9a617344827b13f8d22221dbbfd2bb0b01ca 100755
(executable)
--- a/
debian-pxe-preseed
+++ b/
debian-pxe-preseed
@@
-16,6
+16,8
@@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# WARNING: outdated! needs docs and update to debian-stretch
+
x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace"
[[ $EUID == 0 ]] || exec sudo "$BASH_SOURCE" "$@"
x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace"
[[ $EUID == 0 ]] || exec sudo "$BASH_SOURCE" "$@"
@@
-26,9
+28,8
@@
e() { echo "$*"; "$@"; }
mount_dir=$(mktemp -d)
mount_dir=$(mktemp -d)
-cleanup() { cd; umount -f $mount_dir; }
-_errcatch_cleanup=cleanup
-e mount -o users wrt:/mnt/usb $mount_dir
+err-cleanup() { cd; umount -f $mount_dir; }
+e mount -o users cmc:/mnt/usb $mount_dir
cd $mount_dir
cd $mount_dir