All Projects → elasticdog → Packer Arch

elasticdog / Packer Arch

Licence: isc
packer.io template for building an Arch Linux base box

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Packer Arch

zarch
The Ultimate Script For Arch Linux
Stars: ✭ 49 (-81.58%)
Mutual labels:  packer, arch-linux
scripts.TermuxArch
scripts.TermuxArch https://termuxarch.github.io/scripts.TermuxArch/
Stars: ✭ 13 (-95.11%)
Mutual labels:  arch-linux
packer-templates
Packer templates for creating Amazon EC2 images, Proxmox templates and Vagrant boxes
Stars: ✭ 70 (-73.68%)
Mutual labels:  packer
packer-ubuntu-18.04
packer example - Ubuntu Server 18.04.5
Stars: ✭ 37 (-86.09%)
Mutual labels:  packer
archcheatsheet
The way of creating custom Arch dual-boot system without desktop environment with `no mouse` approach in mind.
Stars: ✭ 83 (-68.8%)
Mutual labels:  arch-linux
dotfiles
My dotfiles for Arch Linux and macOS: Polybar, Neovim, ZSH, Alacritty, Git, and more 👨🏿‍💻
Stars: ✭ 13 (-95.11%)
Mutual labels:  arch-linux
dotfiles
There is no place like ~/
Stars: ✭ 19 (-92.86%)
Mutual labels:  arch-linux
ProTecT
ProTecT is an MS-DOS packer. While this packer is outdated, it uses a number of interesting anti-analysis techniques that are still relevant today.
Stars: ✭ 28 (-89.47%)
Mutual labels:  packer
terraform-aws-mongodb
Simplify MongoDB provisioning on AWS using Terraform
Stars: ✭ 20 (-92.48%)
Mutual labels:  packer
docsTermuxArch
docsTermuxArch https://termuxarch.github.io/docsTermuxArch/
Stars: ✭ 29 (-89.1%)
Mutual labels:  arch-linux
gobble
Rust rewrite of Devour
Stars: ✭ 23 (-91.35%)
Mutual labels:  arch-linux
New-Machine
Utilizing Vagrant, Packer, Chocolatey, and Boxstarter to Configure my Dev Machines
Stars: ✭ 26 (-90.23%)
Mutual labels:  packer
repoctl
Make it easy to manage your local Arch Linux repository.
Stars: ✭ 82 (-69.17%)
Mutual labels:  arch-linux
aws-pipeline
Build a CI/CD for Microservices and Serverless Functions in AWS ☁️
Stars: ✭ 32 (-87.97%)
Mutual labels:  packer
cloud-computer
☁️ The Cloud Native Computer
Stars: ✭ 5 (-98.12%)
Mutual labels:  packer
linux-installer
Universal GNU+Linux installer script
Stars: ✭ 16 (-93.98%)
Mutual labels:  arch-linux
pipeline-as-code-with-jenkins
Pipeline as Code with Jenkins
Stars: ✭ 56 (-78.95%)
Mutual labels:  packer
ArchLinuxTutorial
✨Arch Linux安装使用教程 每日实时更新! | 包含ArchLinux从安装到日常使用、娱乐、编程、媒体制作的各个方面,让Arch成为你的常用系统吧! | 提供在线网页文档 ✨
Stars: ✭ 513 (+92.86%)
Mutual labels:  arch-linux
packer.templates
Various packer templates for building basic virtual machine images.
Stars: ✭ 44 (-83.46%)
Mutual labels:  packer
lucjan-kernels
Dell Inspiron 15-3542 (3542-2538) with Fourth Gen Intel Core i3/i5/i7 optimized.
Stars: ✭ 16 (-93.98%)
Mutual labels:  arch-linux

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. The template works with the default VirtualBox provider as well as with VMware, Parallels and libvirt providers.

Overview

My goal was to roughly duplicate the attributes from a DigitalOcean Arch Linux droplet:

  • 64-bit
  • 20 GB disk
  • 512 MB memory
  • Only a single /root partition (ext4)
  • No swap
  • Includes the base meta package and base-devel group
  • 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/elasticdog/packer-arch.git
$ cd packer-arch/
$ packer build -only=virtualbox-iso arch-template.json

Then you can import the generated box into Vagrant:

$ vagrant box add arch output/packer_arch_virtualbox.box

VMware Provider

Assuming that you already have Packer, VMware Fusion (or VMware Workstation), and Vagrant with the VMware provider installed, you should be good to clone this repo and go:

$ git clone https://github.com/elasticdog/packer-arch.git
$ cd packer-arch/
$ packer build -only=vmware-iso arch-template.json

Then you can import the generated box into Vagrant:

$ vagrant box add arch output/packer_arch_vmware.box

Parallels Provider

Assuming that you already have Packer, Parallels, Parallels SDK and Vagrant with the Parallels provider installed, you should be good to clone this repo and go:

$ git clone https://github.com/elasticdog/packer-arch.git
$ cd packer-arch/
$ packer build -only=parallels-iso arch-template.json

Then you can import the generated box into Vagrant:

$ vagrant box add arch output/packer_arch_parallels.box

libvirt Provider

Assuming that you already have Packer, Vagrant with the vagrant-libvirt plugin installed, you should be good to clone this repo and go:

$ git clone https://github.com/elasticdog/packer-arch.git
$ cd packer-arch/
$ packer build -only=qemu arch-template.json

Then you can import the generated box into Vagrant:

$ vagrant box add arch output/packer_arch_libvirt.box

NOTE: libvirt support is limited to QEMU/KVM only.

wrapacker

For convenience, there is a wrapper script named wrapacker that will run the appropriate packer build command for you that will also automatically ensure the latest ISO download URL and optionally use a mirror from a provided country code in order to build the final box.

$ wrapacker --country US --dry-run

For debugging purposes, execute:

$ PACKER_LOG=1 ./wrapacker --country=US --provider=virtualbox --on-error=ask --force

See the --help flag for additional details.

Known Issues

VMware Tools

The official VMware Tools do not currently support Arch Linux, and the Open Virtual Machine Tools (open-vm-tools) require extensive patching in order to compile correctly with a Linux 3.11 series kernel. So for the time being, I have not included support for the tools.

No tools means that the shared folder feature will not work, and when you run vagrant up to launch a VM based on the VMware box, you will see the following error message:

The HGFS kernel module was not found on the running virtual machine. This must be installed for shared folders to work properly. Please install the VMware tools within the guest and try again. Note that the VMware tools installation will succeed even if HGFS fails to properly install. Carefully read the output of the VMware tools installation to verify the HGFS kernel modules were installed properly.

Note that this issue does not apply to VirtualBox, as their official guest additions work just fine.

Vagrant Provisioners

The box purposefully does not include Puppet, Chef or Ansible for automatic Vagrant provisioning. My intention was to duplicate a DigitalOcean VPS and furthermore use the VM for testing Ansible playbooks for configuration management.

License

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

Copyright © 2013–2017, Aaron Bull Schaefer.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].