Permalink
Browse files

removed swp file

  • Loading branch information...
1 parent c300eb1 commit 8ba2c46bcedf0c35671e0371360d104bf97fa83d @altercation altercation committed Nov 19, 2011
Showing with 12 additions and 1 deletion.
  1. BIN .archbyhand_efi_crypto.sh.swp
  2. +1 −0 .gitignore
  3. +11 −1 archbyhand_efi_crypto.sh
Binary file not shown.
View
@@ -0,0 +1 @@
+*.swp
View
@@ -11,6 +11,14 @@
set -o nounset
#set -o errexit
+# ------------------------------------------------------------------------
+# Host specific configuration
+# ------------------------------------------------------------------------
+# this whole script needs to be customized, particularly disk partitions
+# and configuration, but this section contains global variables that
+# are used during the system configuration phase for convenience
+HOSTNAME=alpha
+
# ------------------------------------------------------------------------
# Globals
# ------------------------------------------------------------------------
@@ -210,8 +218,10 @@ ${TARGET_PACMAN} -Su base
# ------------------------------------------------------------------------
# Configure new system
# ------------------------------------------------------------------------
-SetValue HOSTNAME tau ${INSTALL_TARGET}/etc/rc.conf
+SetValue HOSTNAME ${HOSTNAME} ${INSTALL_TARGET}/etc/rc.conf
+sed -i "s/^\(127\.0\.0\.1.*\)$/\1 ${HOSTNAME}/" ${INSTALL_TARGET}/etc/hosts
SetValue CONSOLEFONT Lat2-Terminus16 ${INSTALL_TARGET}/etc/rc.conf
+SetValue interface eth0 ${INSTALL_TARGET}/etc/rc.conf
# ------------------------------------------------------------------------
# Prepare to chroot to target

0 comments on commit 8ba2c46

Please sign in to comment.