Skip to content
 
 

Latest commit

 

History

139 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer Arch

Packer Arch is a bare bones Packer template and installation script that can be used to generate a Vagrant base box for Arch Linux.

Overview

  • 64-bit
  • 12 GB disk
  • 512 MB memory
  • Only a single /root partition (ext4)
  • No swap
  • Includes the base and base-devel package groups
  • OpenSSH is also installed and enabled on boot

The installation script follows the official installation guide pretty closely, with a few tweaks to ensure functionality within a VM. Beyond that, the only customizations to the machine are related to the vagrant user and the steps recommended for any base box.

Usage

VirtualBox Provider

Assuming that you already have Packer, VirtualBox, and Vagrant installed, you should be good to clone this repo and go:

$ git clone https://github.com/sq3/packer-arch.git
$ cd packer-arch/
$ packer build template.json

Then you can import the generated box into Vagrant:

$ vagrant box add arch builds/_arch_virtualbox.box

You can run update-iso-url.py to get the URL of the latest ArchLinux .iso verion to template.json. It automatically adds, commits and pushs the changes for continuous integration e.g. via travis License

Packer Arch is provided under the terms of the ISC License.

Copyright © 2013–2016, Aaron Bull Schaefer.

About

packer.io template for building an Arch Linux base box

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages