Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

really add second postinstall script

Signed-off-by: Dave Simons <>
  • Loading branch information...
commit 24b2b5d834c6f6ba8597ec049aee349f2b803655 1 parent 47e199b
Dave Simons authored
Showing with 28 additions and 0 deletions.
  1. +28 −0 templates/archlinux-x86_64-netboot/
28 templates/archlinux-x86_64-netboot/
@@ -0,0 +1,28 @@
+# install virtualbox guest additions
+VBOX_VERSION=$(cat /root/.vbox_version)
+cd /tmp
+mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt
+sh /mnt/
+umount /mnt
+rm VBoxGuestAdditions_"$VBOX_VERSION".iso
+# host-only networking
+cat >> /etc/rc.local <<EOF
+# enable DHCP at boot on eth0
+# See
+dhcpcd -k eth0
+dhcpcd -nd eth0
+# clean out pacman cache
+pacman -Scc<<EOF
+# zero out the fs
+dd if=/dev/zero of=/tmp/clean || rm /tmp/clean
+# and the final reboot!
Please sign in to comment.
Something went wrong with that request. Please try again.