Skip to content

Instantly share code, notes, and snippets.

@skymob
Created October 10, 2013 14:34
Show Gist options
  • Save skymob/6919375 to your computer and use it in GitHub Desktop.
Save skymob/6919375 to your computer and use it in GitHub Desktop.
Vagrantfile for bringing up two packaged sandboxes
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define :sensu_server do |sensu_server_config|
sensu_server_config.vm.box = "sensu_server"
sensu_server_config.vm.hostname = "sensu-server"
sensu_server_config.vm.network :private_network, ip: "10.254.254.10"
end
config.vm.define :sensu_client do |sensu_client_config|
sensu_client_config.vm.box = "sensu_client"
sensu_client_config.vm.hostname = "sensu-client"
sensu_client_config.vm.network :private_network, ip: "10.254.254.11"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment