Commit graph

208 commits

Author SHA1 Message Date
Aaron Bull Schaefer
7834d3f112 Use the SATA hard drive controller for VirtualBox
> Like a real SATA controller, VirtualBox’s virtual SATA controller
> operates faster and also consumes fewer CPU resources than the virtual
> IDE controller. Also, this allows you to connect up to 30 virtual hard
> disks to one machine instead of just three, as with the VirtualBox IDE
> controller (with the DVD drive already attached).
2014-05-10 22:20:19 -06:00
Aaron Bull Schaefer
d2ead8f822 Update ISO URL and checksum to latest release 2014-05-10 21:37:54 -06:00
Aaron Bull Schaefer
4a16d86d8d Set curl to follow redirects when downloading ssh key
Resolves #14
2014-05-02 07:14:59 -07:00
Brett K
3b78ca5837 Update to latest arch linux iso 2014-04-26 12:35:54 -07:00
Aaron Bull Schaefer
6ad4678784 Update install-vmware.sh to reflect name change of udev's rule file 2014-03-11 07:04:20 -07:00
Aaron Bull Schaefer
32844f3658 Update ISO URL and checksum to latest release 2014-03-10 21:41:07 -07:00
Simon Adameit
60105d1ea0 Updated install-virtualbox.sh to reflect name change of udev's rule file. 2014-03-10 21:40:03 -07:00
Dave Behnke
d5ddd69fa2 Update template to use February image 2014-02-13 08:02:30 -08:00
Aaron Bull Schaefer
301c0503ba OCD typography fix for the en dash 2014-01-07 22:10:40 -08:00
Aaron Bull Schaefer
bb42245cba Bump copyright notice dates for 2014 2014-01-07 22:07:08 -08:00
Aaron Bull Schaefer
53f48674b9 Update ISO URL and checksum to latest release 2014-01-07 22:06:37 -08:00
Aaron Bull Schaefer
558fae26c1 Update README to reflect upstream builder renames 2014-01-07 21:49:45 -08:00
Andrew Hobden
fa374fb41b Curl from local HTTP server for poweroff fix file 2014-01-07 21:47:03 -08:00
Andrei Vladescu-Olt
e8d547cee6 Update builder types to reflect upstream renames 2014-01-07 21:17:00 -08:00
Andrew Hobden
7817ab3d4a Update checksum of image. 2013-12-09 18:12:19 -05:00
Andrew Hobden
ddc6cb9068 Update ISO URL. Also use HTTPS. 2013-12-09 18:12:18 -05:00
dmpeters
70edb7747e Fix guest_additions_mode to disable ISO download
This option name was changed in Packer 0.3.11 to allow for more flexibility:

  https://github.com/mitchellh/packer/issues/580
2013-11-12 07:51:19 -08:00
Aaron Bull Schaefer
7ea9328ff9 Remove details regarding vbox shared folders issue 2013-11-04 15:06:43 -08:00
tonyskn
97bc65f725 Provision Arch using local scripts
Instead of downloading the provisionning scripts from
elasticdog/packer-arch, use packer's ability to HTTP-serve local files.
This way, any modifications to the local scripts are immediatly
available to Packer.
2013-10-14 07:41:11 -07:00
Aaron Bull Schaefer
5dee4208d3 Add details regarding vbox shared folders issue 2013-09-26 16:38:22 -07:00
Aaron Bull Schaefer
c553f3c26e Remove redundant dkms add vboxguest command 2013-09-26 16:17:18 -07:00
Aaron Bull Schaefer
efd30bae57 Add remaining requirements for vbox folder sharing 2013-09-26 15:59:28 -07:00
Aaron Bull Schaefer
abcec6125d Escape DKMS variables in installation script
Otherwise these will get expanded based on values from the installer
ISO and not from the chroot'ed system.
2013-09-26 15:41:01 -07:00
Aaron Bull Schaefer
88380f1685 Revert previous commit and try forcing the version 2013-09-26 15:10:19 -07:00
Aaron Bull Schaefer
d9ccc62a87 Add vbox guest additions before running mkinitcpio
I'm trying to solve the issue of the guest additions not running on the
first boot due to the installer kernel being 3.10 and the VM having
a newer version. If you reboot the VM after your first `vagrant up`
everything works as expected.
2013-09-26 14:37:20 -07:00
Aaron Bull Schaefer
b56490a904 Generate vbox DKMS kernel modules during build 2013-09-26 14:06:16 -07:00
Aaron Bull Schaefer
561119234e Ignore the output box files 2013-09-26 13:55:55 -07:00
Aaron Bull Schaefer
8ffa2b587c Add vagrant group for VirtualBox folder sharing 2013-09-26 13:53:58 -07:00
Aaron Bull Schaefer
a89ef42ea9 Add support for the default VirtualBox provider 2013-09-26 13:34:19 -07:00
Aaron Bull Schaefer
5516a142a1 Override the box name created by the post-processor 2013-09-26 12:08:25 -07:00
Aaron Bull Schaefer
6f747f9425 Add a workaround for the shutdown race condition
http://comments.gmane.org/gmane.linux.arch.general/48739

Basically systemd kills the networking before it kills ssh sessions, and
Packer will try and wait for a 0 exit code after the shutdown command to
confirm that it worked. Things happen too quickly with systemd, and so
Packer complains when gracefully halting the machine that:

    "Build 'vmware' errored: Shutdown command has non-zero exit status."

This workaround just adds a standard systemd timer to the poweroff
command so it has a one second delay, which is long enough for the
0 exit code to return and signal a successful graceful halt.
2013-09-26 11:29:28 -07:00
Aaron Bull Schaefer
b2b923a36b Wait a bit longer for the network to settle 2013-09-26 11:19:16 -07:00
Aaron Bull Schaefer
176c01c78b Update to the latest 2013.09.01 ISO 2013-09-26 11:18:48 -07:00
Aaron Bull Schaefer
8a6c736afd Change permissions of sudoers.d file to 0440 2013-08-25 21:36:50 -07:00
Aaron Bull Schaefer
e6d4b53462 Remove add_config function and just use a heredoc 2013-08-23 22:14:31 -07:00
Aaron Bull Schaefer
ce36c3e920 Explain the lack of Puppet/Chef for provisioning 2013-08-23 07:19:44 -07:00
Aaron Bull Schaefer
4bb92c9dc8 Echo when the installation has completed 2013-08-22 22:55:48 -07:00
Aaron Bull Schaefer
6a199a1bde Specify the use of ext4 for the filesystem 2013-08-22 22:51:35 -07:00
Aaron Bull Schaefer
388b8531bb Minor consistency fix 2013-08-22 22:48:24 -07:00
Aaron Bull Schaefer
53631f5b60 Tweak known issues wording 2013-08-22 22:44:31 -07:00
Aaron Bull Schaefer
3e0da18c52 Include absolute path for all script commands 2013-08-22 22:37:24 -07:00
Aaron Bull Schaefer
fb70442687 Add README with project details 2013-08-22 22:37:07 -07:00
Aaron Bull Schaefer
f7047e8a32 License under the ISC license 2013-08-22 20:54:50 -07:00
Aaron Bull Schaefer
d2d987f02f Remove open-vm-tools installation for now
The package doesn't compile properly with Linux 3.10 kernels, and fixing
it is a lot of trouble; I will add it back once things have been
fixed upstream.

https://wiki.archlinux.org/index.php/Installing_Arch_Linux_in_VMware#Installing_Open-VM-Tools
2013-08-22 16:49:35 -07:00
Aaron Bull Schaefer
cdf4088f67 Sort out open-vm-tools issues 2013-08-22 16:14:32 -07:00
Aaron Bull Schaefer
7c9d16d716 Disable "Predictable Network Interface Names" and force eth0 2013-08-22 15:35:55 -07:00
Aaron Bull Schaefer
1e357e627b Add vagrant as a Packer post-processor 2013-08-22 15:11:38 -07:00
Aaron Bull Schaefer
ce202719e7 Add Vagrant-specific configuration steps 2013-08-22 14:59:23 -07:00
Aaron Bull Schaefer
73f3f5fd3e Lower the wait time after boot prompt 2013-08-22 14:39:26 -07:00
Aaron Bull Schaefer
d2fabfc2a6 Use root to ssh back in and uncomment auto-reboot 2013-08-22 14:37:52 -07:00