Commit graph

119 commits

Author SHA1 Message Date
Hiroshi Hatake
d93e04754a Update to August 2016 ISO 2016-08-02 10:55:02 +09:00
Hiroshi Hatake
6a0928d78c Update to July 2016 ISO 2016-07-04 13:16:22 +09:00
Tom Swartz
36dad6dca7 Update to June 2016 ISO 2016-06-06 11:01:31 -04:00
Aaron Bull Schaefer
adb5b07a82 Merge pull request #48 from tomswartz07/master
Use `checksum_url` to simplify monthly updates
2016-05-02 07:46:51 -07:00
Tom Swartz
71039a406b Use checksum_url to simplify monthly updates
Arch publishes the checksums of the ISO urls and Packer has an option to
read these files directly from the source.

This commit will automatically load the ISO checksums from the provided
URL, making it such that each month only 1 line must be changed.
2016-05-02 08:49:48 -04:00
Tom Swartz
ea342155d8 Update to May 2016 ISO 2016-05-02 08:31:47 -04:00
Tomas Papan
c00e2aff2c Add a headless option in arch-template 2016-04-17 11:28:50 -07:00
Tom Swartz
9c14206b34 Update to April 2016 ISO URL 2016-04-08 10:37:01 -04:00
Tom Swartz
5f104b2e30 Update ISO URL for March 2016 2016-03-08 13:54:31 -05:00
Aaron Bull Schaefer
266dd4ea6c Remove duplicated pacman cleanup step
This gets run as the final step with all builders after the machine
reboots, so no need to do that twice.
2016-02-12 07:40:18 -08:00
Aaron Bull Schaefer
f00a3026f4 Optimize the pacman database before zeroing the drive 2016-02-11 09:08:28 -08:00
Aaron Bull Schaefer
6c589e733a Remove the conditional on cleanup.sh
This should be desireable to run on any of the builders.
2016-02-11 08:00:09 -08:00
Aaron Bull Schaefer
9b662bdf95 Merge pull request #46 from appleby/improve-disk-compaction
Improve disk compaction
2016-02-11 07:55:03 -08:00
Mike Appleby
004b694ef6 Set the execute bit on cleanup.sh.
This isn't strictly necessary.  Done for consistency with the other
files in ./scripts.
2016-02-10 13:49:42 -06:00
Mike Appleby
fd57a360b7 Add a cleanup script.
Do a final clean of the pacman cache, then write zeros to disk and
unlink the file.  Packer will compact the disk as part of the build,
resulting in a smaller final image.
2016-02-09 20:53:33 -06:00
Aaron Bull Schaefer
5c6cc818ad Merge pull request #44 from elasticdog/install-base
Remove duplication in installation scripts
2016-02-09 07:08:59 -08:00
Aaron Bull Schaefer
eb597e91cd Add spaces around all interpolated variables
This is just for clarity when reading, and it seems to be the style that
the upstream documentation has finally settled on. No functional changes
here.
2016-02-08 09:27:41 -08:00
Aaron Bull Schaefer
df4eeb4c29 Update link to the open-vm-tools GitHub page
The upstream project is no longer hosted on SourceForge.
2016-02-08 09:27:41 -08:00
Aaron Bull Schaefer
d5adbc3f10 Remove duplication in installation scripts
Instead of having mostly duplicate scripts for the entire installation
process, we can split them up into the base installation steps and then
run shell provisioners for anything specific to each of the types after
the machine has rebooted.

This structure will mean less chance of error when making changes to
machines, and will also allow for expansion of the scripts to be run at
the end, such as adding a minimization script to remove history and
clear out space on the drive before compression.
2016-02-08 09:27:41 -08:00
Aaron Bull Schaefer
ccb4986b83 Use secure URLs when applicable and bump license dates 2016-02-07 21:01:30 -08:00
Aaron Bull Schaefer
d8f83caa85 Merge pull request #43 from elasticdog/srv-directory
Move the HTTP server files into a dedicated directory
2016-02-07 20:51:00 -08:00
Aaron Bull Schaefer
fe1a5f6f5b Merge pull request #42 from elasticdog/output-directory
Store the output *.box files in a dedicated directory
2016-02-07 20:50:16 -08:00
Aaron Bull Schaefer
f12cd0ad29 Move the HTTP server files into a dedicated directory
Again, this is to tidy up the top-level directory in preparation for
de-duplicating the script functionality.
2016-02-07 20:44:27 -08:00
Aaron Bull Schaefer
4a5b06ed89 Store the output *.box files in a dedicated directory
Tidy things up a bit by not polluting the top-level directory.
2016-02-07 20:34:12 -08:00
Tom Swartz
4f7928d421 Update ISO
Feb 2016 ISO
2016-02-02 15:44:29 -05:00
Aaron Bull Schaefer
5f260621b7 Ensure the help documentation matches available options
Minor reorganization here so the --dry-run option is listed at the end,
and we document that the --timeout option takes an argument. I had also
missed showing the `[-d]` option on the usage message previously.
2016-01-03 11:03:59 -08:00
Aaron Bull Schaefer
20d7048975 Ensure we actually use a 20m timeout as the default
I also slightly re-organized how the default was set, so it will always
rely on the status of the $timeout variable and also the final variable
name matches the name of the Packer option.
2016-01-03 11:02:42 -08:00
Hiroshi Hatake
aa59366282 Update ISO URL
Update ISO url for January 2016
2016-01-01 23:04:46 +09:00
Hiroshi Hatake
2464bd2c31 Add timeout option to specify ssh_timeout via wrapacker
Closes #40
Fixes #8
2016-01-01 11:10:59 +09:00
Aaron Bull Schaefer
03abd01c9a Use the correct binary if running Packer from Arch Linux
Resolves #39
2015-12-30 13:58:28 -08:00
Aaron Bull Schaefer
305ab6eda5 Set the VALID_COUNTRIES constant to be read-only 2015-12-30 13:55:10 -08:00
Aaron Bull Schaefer
28fd41e134 Quote the rhs of == in [[ ]] to prevent glob matching.
[SC2053]
2015-12-30 13:51:36 -08:00
Tom Swartz
df402d4ade Update ISO URL
Update ISO url for December 2015
2015-12-02 08:43:02 -05:00
Tom Swartz
297898f4ed Update ISO
Use November 2015 Image
2015-11-02 08:58:49 -05:00
Alexander Sobolevskiy
104f1952e3 Update install-parallels.sh 2015-10-27 07:54:10 -07:00
Alexander Sobolevskiy
09409cd049 Update install-vmware.sh 2015-10-27 07:53:57 -07:00
Alexander Sobolevskiy
f2856ffd88 Fix clean
pacman -Scc

Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N]

Flag --nokonfirm sets the default value so the value will be given N
2015-10-27 07:53:41 -07:00
Aaron Bull Schaefer
1bb5b7bf36 Bump the copyright date range in the README 2015-10-18 11:21:55 -07:00
Aaron Bull Schaefer
86c22941de Add wrapacker usage details to the README 2015-10-18 11:12:59 -07:00
Aaron Bull Schaefer
752c076e8f Merge branch 'iso-country' 2015-10-18 11:06:48 -07:00
Aaron Bull Schaefer
15efbfcf7c Remove the upd-iso.sh script
This functionality has been replaced by the wrapacker script.
2015-10-18 11:06:48 -07:00
Aaron Bull Schaefer
612cfee4cf Add initial wrapacker script
This does not yet call the actual `packer build` command, but it does
grab the metadata correctly. I'll have to change up the option flag
parsing to include the provider type, then it can just call the complete
command rather than passing options through.
2015-10-18 11:06:48 -07:00
Alexander Sobolevskiy
b1c6355019 add script upd-iso url by country 2015-10-18 11:05:57 -07:00
Tom Swartz
5e6c3dfc9c Update ISO URL
Use October 2015 image
2015-10-12 07:45:55 -04:00
Edvinas Aleksejonokas
7b1e1e2c7e Update .gitignore 2015-10-11 10:46:28 -07:00
Edvinas Aleksejonokas
4c8d268f21 Add support for Parallels provider 2015-10-11 10:46:28 -07:00
Edvinas Aleksejonokas
d3dd9bc752 Change ssh user to vagrant
It seems that the default installation of ssh package
prevents root access via ssh. Use vagrant user instead.
2015-10-11 10:46:28 -07:00
Tom Swartz
d2b248979a Update ISO URL 2015-08-16 12:06:16 -07:00
Mikkel Oscar Lyderik
fa611ed4ba Update to latest ISO
Update to July ISO
2015-07-05 10:10:09 -07:00
Tom Swartz
79a746b79a Update arch-template.json 2015-06-02 11:18:59 -07:00