Need help with packer-templates?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

kaorimatz
470 Stars 245 Forks MIT License 448 Commits 21 Opened issues

Description

Packer templates for Vagrant base boxes

Services available

!
?

Need anything else?

Contributors list

# 50,848
Ruby
Kotlin
prometh...
elastic...
402 commits
# 330,618
Shell
Ruby
vmware
qemu
6 commits
# 174,964
Linux
Shell
PHP
php71
5 commits
# 88,823
Postgre...
PHP
Symfony
SQLite
1 commit
# 263,211
C
sed
sudo
CSS
1 commit
# 500,128
Shell
Ruby
vmware
qemu
1 commit
# 490,665
TypeScr...
Shell
HTML
vmware
1 commit
# 7,112
Arch Li...
ionic-f...
jython
doh
1 commit
# 151,763
Terrafo...
Flask
SQL
GraphQL
1 commit
# 18,507
JavaScr...
Shell
CSS
Ansible
1 commit

packer-templates

Travis

Packer templates for Vagrant base boxes

Usage

Clone the repository:

$ git clone https://github.com/kaorimatz/packer-templates && cd packer-templates

Build a machine image from the template in the repository:

$ packer build -only=virtualbox-iso archlinux-x86_64.json

Add the built box to Vagrant:

$ vagrant box add archlinux-x86_64 archlinux-x86_64-virtualbox.box

Configuration

You can configure each template to match your requirements by setting the following user variables.

User Variable

Default Value Description

compression_level
6 Documentation
cpus
1 Number of CPUs
disk_size
40000 Documentation
headless
0 Documentation
memory
512 Memory size in MB
mirror
A URL of the mirror where the ISO image is available

Example

Build an uncompressed Arch Linux vagrant box with a 4GB hard disk using the VirtualBox provider:

$ packer build -only=virtualbox-iso -var compression_level=0 -var disk_size=4000 archlinux-x86_64.json

Pre-built Boxes

You can also use the pre-built boxes hosted on Atlas.

$ vagrant box add kaorimatz/archlinux-x86_64

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.