Example for glusterfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 仮想マシン1-3はそれぞれ192.168.56.10,192.168.56.11,192.168.56.12にした | |
# (ホストマシンは 192.168.56.1) | |
Vagrant::Config.run do |config| | |
config.vm.define :host1 do |host1| | |
host1.vm.box = "CentOS-6.2-x86_64-minimal" | |
host1.vm.network :hostonly, "192.168.56.10" | |
end | |
config.vm.define :host2 do |host2| | |
host2.vm.box = "CentOS-6.2-x86_64-minimal" | |
host2.vm.network :hostonly, "192.168.56.11" | |
end | |
config.vm.define :host3 do |host3| | |
host3.vm.box = "CentOS-6.2-x86_64-minimal" | |
host3.vm.network :hostonly, "192.168.56.12" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment