small fixes and config changes
[automated-distro-installer] / arch-pxe
index 5a5b5464360e214b2e1543639cb149661385da71..7252f2da2ec3aa47d0402fdd06c07274123dccdf 100755 (executable)
--- a/arch-pxe
+++ b/arch-pxe
@@ -1,13 +1,13 @@
 #!/bin/bash -lx
 
-# manually download image to /a/opt, and set it's name below.
+# Setup arch pxe boot server from the base image.
+# Requires manually downloading image to /a/opt, and set it's name below.
 
 set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
+trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
 
 cd /a/opt
-#iso="archlinux-2015.11.01-dual"
-iso="archlinux-2016.01.01-dual"
+iso="archlinux-2016.05.01-dual"
 sfs=$iso/arch/x86_64/airootfs.sfs
 rm -rf $iso
 ex $iso.iso