Quickly test the box after creation to discover errors like missing
netctl. Better test the box in this project then in another project
that uses the box.
- virtualbox-guest-modules-arch doesn't exist anymore and the installation
will fail.
- virtualbox-guest-utils was replaced by virtualbox-guest-utils-nox
because Xorg isn't used.
- linux-headers removed because it's not needed by virtualbox-guest-utils
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.
In older versions of arch linux, the hashicorp packer package (and
binary) was named packer-io to avoid clashing with a pre-existing AUR
helper called packer. Recently, the AUR helper package was renamed to
packer-aur and the old packer-io (and corresponding binary) was
renamed to packer.
https://www.archlinux.org/packages/community/x86_64/packer/
Previously, the wrapacker script would unconditionally set PACKER_BIN
to "packer-io" if the file /etc/arch-release existed. We now instead
the check for the existence of a packer-io command, and fall back to
the default "packer" in case that doesn't exist.
mirrors.kernel.org is redirecting to mirrors.edge.kernel.org, causing
ISO_NAME to be set to an empty string. This resulted in ISO_URL being
set to the wrong value and packer failing to download the iso.
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.
It seems the archlinux dropped support for dual iso.
According the official mirror (and many other which I have checked)
there is only -x86_64.iso file.
You can see it here: https://mirrors.kernel.org/archlinux/iso/latest/
This fix will ensure that the correct signature is read when the image
is parsed in sha1sum.txt file.
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
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.