mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
Add Vagrantfile for macOS and Windows
This commit is contained in:
parent
04ad086349
commit
eb3bf508f9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.vagrant/
|
||||
book/
|
||||
build/
|
||||
terraform-*-tmp-*/
|
||||
|
16
tools/Vagrantfile
vendored
Normal file
16
tools/Vagrantfile
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "archlinux/archlinux"
|
||||
config.vm.network "public_network"
|
||||
config.vm.synced_folder "..", "/home/vagrant/homelab"
|
||||
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.cpus = "2"
|
||||
vb.memory = "2048"
|
||||
end
|
||||
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
pacman -Syu --noconfirm base-devel docker
|
||||
systemctl enable --now docker
|
||||
usermod -aG docker vagrant
|
||||
SHELL
|
||||
end
|
Loading…
Reference in New Issue
Block a user