Commit graph

102 commits

Author SHA1 Message Date
Nicolas Iooss
183c425947 Use 1GB memory when installing Arch Linux ISO
Booting the Arch Linux ISO nowadays requires at least 955 MB of memory
(from running `free -m` after booting it in VirtualBox).

When the virtual machine only has 768 MB of RAM, extracting the initrd
fails and the provisioning script aborts.

Increase the memory to 1024 MB to fix this.
2025-10-03 15:55:23 +00:00
JuliusLongmind
b14e836238
Checksum links has been fixed 2022-10-03 20:58:09 +02:00
JuliusLongmind
4dbd460443
The wrapper and the template has been fixed 2022-09-15 01:07:10 +02:00
JuliusLongmind
6c421cd033
Fixing mirrorlist, network interfaces before reboot 2022-06-10 22:33:21 +02:00
Christian Kotte
c1125dc9b8 Add variable/option to control if zeros are written to the disk
It takes some time to write zeros to the disk and it aborts later if
less than 20GB are available.

Add variable to the template, cleanup script and add a new option to
wrapacker.
2020-08-13 15:53:08 -07:00
Christian Kotte
1225f6f1ee Add configured vCPUs
Just for completeness. One vCPU is the default anyway.
2020-08-13 15:53:08 -07:00
Christian Kotte
e96dd97f3d Increase memory from 512 to 768
The Arch Linux installation ISO cannot be booted with 512MB (default).
It needs to be increased to 768MB. Only tested with VirtualBox, most
probably it's the same with every hypervisor.
2020-08-13 15:53:08 -07:00
Michael Ledin
f2cbd420c3 Run packer fix 2020-07-08 12:55:39 +03:00
Aaron Bull Schaefer
72922ed830
Merge pull request #60 from jcf/install-open-vm-tools
Install Open VM Tools
2018-10-28 16:58:21 +00:00
Tom Swartz
af9c4ce9af Use same format for output box name 2018-10-03 17:33:12 -04:00
Tom Swartz
f235e7b55b Use Packer Template feature to auto-populate ISOs
Packer template variables allow for dynamic integration of isodate
variables.
This commit leverages the isotime template engine to auto generate
the year and month values for the ISO url as well as the SHA checksum
fields.

This will allow for the ISO image to continuously remain up-to-date
without the need for continued monthly commits.

Additionally, it leverages this same template variable to ensure that
the resulting box filename matches the date it was created, for archival
purposes.
2018-10-02 19:05:30 -04:00
Tom Swartz
682c800dc8 Update to October 2018 ISO 2018-10-02 18:52:03 -04:00
James Conroy-Finn
6311877e6f Install VMware's Open VM Tools 2018-09-30 18:35:07 +01:00
Hiroshi Hatake
572b2d8c88 Update to September 2018 ISO 2018-09-02 13:25:20 +09:00
Hiroshi Hatake
1356679463 Update to August 2018 ISO 2018-08-03 13:47:16 +09:00
Hiroshi Hatake
7ecceb87ab Update to July 2018 ISO 2018-07-01 14:15:51 +09:00
Hiroshi Hatake
ba9d7bd90c Update to June 2018 ISO 2018-06-17 12:42:28 +09:00
Hiroshi Hatake
0a3608d569 Update to May 2018 ISO 2018-05-07 11:38:33 +09:00
Hiroshi Hatake
5088253a45 Update to March 2018 ISO 2018-03-16 14:06:03 +09:00
Hiroshi Hatake
d83848372a Revert "Update to May 2018 ISO"
This reverts commit ac0604c36a.
2018-03-16 14:05:42 +09:00
Hiroshi Hatake
ac0604c36a Update to May 2018 ISO 2018-03-02 12:08:33 +09:00
Tomas Slusny
61dab773a1 Set expect_disconnect to "true" to fix build
Based on https://www.packer.io/docs/provisioners/shell.html#expect_disconnect and local test, expect_disconnect in shell provisioner is not true by default anymore, so when install-base tries to reboot machine, installation fails.
2017-10-19 17:26:58 +02:00
Tom Swartz
0522b12f9e Update ISO for Oct 2017 2017-10-02 11:56:46 -04:00
Hiroshi Hatake
b712096688 Update to September 2017 ISO 2017-09-16 16:29:06 +09:00
Hiroshi Hatake
f185199e1e Update to July 2017 ISO 2017-07-02 19:20:39 +09:00
Hiroshi Hatake
d14b3bea35 Update to June 2017 ISO 2017-06-05 10:56:50 +09:00
Tom Swartz
eecb5a7b4a Update to May 2017 ISO 2017-05-02 08:56:57 -04:00
Tomas Papan
68e0c0d409
Update to April 2017 ISO 2017-04-12 10:05:30 +02:00
Tom Swartz
ee0e88f7c9 Update to March 2017 ISO 2017-03-06 10:01:57 -05:00
Michael Ledin
bb83901361 Add "headless" variable for vmware and qemu. 2017-03-05 09:56:31 -08:00
Aaron Bull Schaefer
dc7fb0cdc8 Change boot wait time to 40 seconds
This splits the difference between 60 seconds (from [1]) and the
previous 20 seconds, which is no longer enough time to boot cleanly...

@tomswartz07, @mod, and I have all been experiencing mid-20 second boot
times, so 40 seconds seems like enough headroom without being excessive.

[1]: 443997f28c
2017-01-23 16:17:27 -08:00
Louis Bellet
e4bcd86a63 Fixing Guest Virtualbox tools
Archlinux wiki suggest for linux kernel using virtualbox-host-modules-arch
2017-01-23 15:40:03 -08:00
Tom Swartz
443997f28c January 2017 ISO + Boot Timeout increase
Update to Jan 2017 ISO (Happy New Year!)

It appears that the ISO startup boot time is slightly longer, recently.
Increase timeout before typing boot commands, to prevent initial parts
of the enable-ssh script from being cut off.
2017-01-09 09:22:45 -05:00
Attila Bogar
3f2ac7e735 libvirt + country mirror support in box 2016-11-18 11:34:56 -08:00
Tom Swartz
8f208034ed Rename SSH Setup Script
Change name of SSH setup script to reflect actions
Remove unnecessary SSH key setup in pre-install environment
2016-11-07 17:53:19 -08:00
Tom Swartz
455dc90842 Move Provisioning to STDOUT
Previously, there was an issue with mkfs failing due to a missing
options flag; this error was difficult to catch, as it was only output
in the provisioned OS's virtual machine file.

This change moves the base installation steps to be more in line with
the other provisioning steps, and allows for any errors, issues, or
output to be cached in the logs of the interface running the Packer
build.
2016-11-07 17:53:19 -08:00
Aaron Bull Schaefer
3e29bceab3 Fix missed date reference in the iso_url update 2016-11-07 15:09:35 -08:00
Aaron Bull Schaefer
31d34f357e Update to November 2016 ISO 2016-11-07 14:34:07 -08:00
Tom Swartz
5dd890c2fa Update to October 2016 ISO
Happy Hacktoberfest
2016-10-17 10:47:55 -04:00
Tom Swartz
8dde72a376 Update to September 2016 ISO 2016-09-14 14:40:51 -04:00
Tom Swartz
a7ff9f2e78 Update to Aug 2016 ISO and fix EXT4 issue
Version 1.43 of e2fsprogs changes mkfs to default 64bit.
This doesn't play nicely with Syslinux, so disable it.

We wouldn't need 64bit filesystems unless we're working with 16TiB
filesystems.
2016-08-10 11:13:27 -04:00
Hiroshi Hatake
8fefaf8b0d Revert "Update to August 2016 ISO"
This reverts commit d93e04754a.

August 2016 ISO image could not boot with `Failed to load ldlinux.c32`
message.
We should revert this change.

Fixes #49.
2016-08-03 13:22:22 +09:00
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
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