Skip to content

UmedaTakefumi/packer-templates

Repository files navigation

packer-template

Description

Packer template for Vagrant base boxes for myself.

Requirements software

Install the required software

macOS BigSur + homebrew + VirtualBox

brew install virtualbox virtualbox-extension-pack vagrant packer

Windows11 Pro + Chocolatey + VirtaulBox

choco install -y virtualbox virtualbox-guest-additions-guest.install
choco install -y vagrant
choco install -y packer

Fedora 34 + homebrew + VirtualBox(no-homebrew)

wget https://www.virtualbox.org/download/oracle_vbox.asc
sudo rpm --import oracle_vbox.asc
wget https://download.virtualbox.org/virtualbox/6.1.28/VirtualBox-6.1-6.1.28_147628_fedora33-1.x86_64.rpm
sudo yum -y install  VirtualBox-6.1-6.1.28_147628_fedora33-1.x86_64.rpm
sudo yum -y install kernel-devel
sudo /sbin/vboxconfig

sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
sudo dnf -y install packer

sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
sudo dnf -y install vagrant

Configration VirtaulBox VirtalMachine

User Variable Default Value Description
cpus 2 Number of CPUs
memory(RAM) 2048 Memory size in MB

building Vagrant base boxes

OS CPU-Type Builders-Type Flavor
Fedora Server 35 x86_64 VirtualBox Fedora-35-server-x86_64
Fedora Server 34 x86_64 VirtualBox Fedora-34-server-x86_64
CentOS 8.2.2004 x86_64 VirtualBox CentOS 8.2.2004 x86_64
CentOS 7.9 x86_64 VirtualBox CentOS 7.9.2009 x86_64
CentOS 6.10 x86_64 VirtualBox CentOS 6.10 x86_64
CentOS 6.10 i386 VirtualBox CentOS 6.10 i386
CentOS 6.9 x86_64 VirtualBox CentOS 6.9 x86_64
CentOS 6.9 i386 VirtualBox CentOS 6.9 i386
CentOS 6.8 x86_64 VirtualBox CentOS 6.8 x86_64
CentOS 6.8 i386 VirtualBox CentOS 6.8 i386
CentOS 6.7 x86_64 VirtualBox CentOS 6.7 x86_64
CentOS 6.7 i386 VirtualBox CentOS 6.7 i386
CentOS 6.6 x86_64 VirtualBox CentOS 6.6 x86_64
CentOS 6.6 i386 VirtualBox CentOS 6.6 i386
CentOS 6.5 x86_64 VirtualBox CentOS 6.5 x86_64
CentOS 6.5 i386 VirtualBox CentOS 6.5 i386
CentOS 6.4 x86_64 VirtualBox CentOS 6.4 x86_64
CentOS 6.4 i386 VirtualBox CentOS 6.4 i386
CentOS 6.3 x86_64 VirtualBox CentOS 6.3 x86_64
CentOS 6.3 i386 VirtualBox CentOS 6.3 i386
CentOS 6.2 x86_64 VirtualBox CentOS 6.2 x86_64
CentOS 6.2 i386 VirtualBox CentOS 6.2 i386
CentOS 6.1 x86_64 VirtualBox CentOS 6.1 x86_64
CentOS 6.1 i386 VirtualBox CentOS 6.1 i386
CentOS 6.0 x86_64 VirtualBox CentOS 6.0 x86_64
CentOS 6.0 i386 VirtualBox CentOS 6.0 i386

Reference

LICENSE

About

Packer template for Vagrant base boxes(ubuntu, centos etc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published