BSD virtual machine setup
This commit is contained in:
parent
b9f216d966
commit
6d179e2177
|
@ -1,2 +1,3 @@
|
||||||
fingers.log
|
fingers.log
|
||||||
copy-test.txt
|
copy-test.txt
|
||||||
|
.vagrant/
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
# -*- mode: ruby -*-
|
||||||
|
# vi: set ft=ruby :
|
||||||
|
|
||||||
|
# requires nfs-utils on host
|
||||||
|
|
||||||
|
Vagrant.configure(2) do |config|
|
||||||
|
config.vm.box = "freebsd/FreeBSD-11.0-CURRENT"
|
||||||
|
config.ssh.shell = "/bin/sh"
|
||||||
|
|
||||||
|
config.vm.network "private_network", ip: "10.0.1.10", mac: "5CA1AB1E0001"
|
||||||
|
config.vm.synced_folder ".", "/home/vagrant/shared", :nfs => true
|
||||||
|
|
||||||
|
config.vm.provision "shell", path: './test/bsd_provisioning.sh'
|
||||||
|
end
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pkg install -y bash tmux
|
||||||
|
chsh -s bash vagrant
|
||||||
|
|
||||||
|
echo "run /home/vagrant/shared/tmux-fingers.tmux" > .tmux.conf
|
Loading…
Reference in New Issue