-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
32 lines (23 loc) · 861 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
ENV["TERM"]="linux"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# set the image for the vagrant box
config.vm.box = "opensuse/Leap-15.2.x86_64"
# Move bin folder to guess machine
config.vm.provision "file", source: "./misc/bin", destination: "/home/vagrant/"
# Running bootstrap script to update zypper and modify .bashrc
config.vm.provision "shell" , path: "./bootstrap.sh"
config.vm.define "default" do |default|
default.vm.hostname = "UdacitySuse15.02"
end
# consifure the parameters for VirtualBox provider
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = 4
vb.customize ["modifyvm", :id, "--ioapic", "on"]
end
# st the static IP for the vagrant box
config.vm.network "private_network", ip: "192.168.50.4"
end