Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This plugin has support for multiple machines? #23

Closed
XNerv opened this issue Jul 1, 2013 · 1 comment
Closed

This plugin has support for multiple machines? #23

XNerv opened this issue Jul 1, 2013 · 1 comment

Comments

@XNerv
Copy link

XNerv commented Jul 1, 2013

This plugin has support for multiple machines?

@ryuzee
Copy link
Collaborator

ryuzee commented Jul 2, 2013

@XNerv

Sahara supports multiple machines.
for example, if you configured your Vagrantfile as below

  # first instance
  config.vm.define :web do |web|
    web.vm.box = box_name
    web.vm.box_url = box_url
    web.vm.network :private_network, ip: "192.168.33.30"
    web.vm.hostname = "webtest01"
  end

  # second instance
  config.vm.define :db do |db|
    db.vm.box = box_name
    db.vm.box_url = box_url
    db.vm.network :private_network, ip: "192.168.33.31"
    db.vm.hostname = "dbtest01"
  end

Entering sandbox mode with all instances.

vagrant sandbox on

Turing on sandbox mode of specified instance

vagrant sandbox on web

Turing off sandbox mode of specified instance

vagrant sandbox off web

@ryuzee ryuzee closed this as completed Aug 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants