-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
50 lines (44 loc) · 1.75 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.define :ubuntu do |ubuntu|
ubuntu.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--name", "ubuntu", "--memory", "512"]
end
ubuntu.vm.box = "laravel/homestead"
ubuntu.vm.hostname = "ubuntu"
ubuntu.vm.network :private_network, ip: "192.168.33.10"
ubuntu.vm.synced_folder "E:\\ClionProjects", "/home/vagrant/cproject"
end
config.vm.define :l1 do |l1|
l1.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--name", "ubuntu1", "--memory", "512"]
end
l1.vm.box = "laravel/homestead"
l1.vm.hostname = "u1"
l1.vm.network :private_network, ip: "192.168.33.11"
l1.vm.synced_folder "E:\\ClionProjects", "/home/vagrant/cproject"
end
config.vm.define :l2 do |l2|
l2.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--name", "ubuntu2", "--memory", "512"]
end
l2.vm.box = "laravel/homestead"
l2.vm.hostname = "u2"
l2.vm.network :private_network, ip: "192.168.33.12"
l2.vm.synced_folder "E:\\ClionProjects", "/home/vagrant/cproject"
end
config.vm.define :jessie do |jessie|
jessie.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--name", "jessie", "--memory", "512"]
end
jessie.vm.box = "debian/jessie64"
jessie.vm.hostname = "debian"
jessie.vm.network :private_network, ip: "192.168.33.9"
#jessie.vm.synced_folder "E:\\ClionProjects", "/home/vagrant/cproject"
end
end