aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/vagrant.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-01-28 02:23:50 -0800
committerelijah <elijah@riseup.net>2013-01-28 02:23:50 -0800
commitd30e9067a94e0d236df65d37b81809ddd6a4f153 (patch)
tree19f6774219df26cfd0e9b4c10caa3299ca201c91 /lib/leap_cli/commands/vagrant.rb
parent1591a04c8a053b8d1e37c589d6e967b86c68c983 (diff)
downloadleap_cli-d30e9067a94e0d236df65d37b81809ddd6a4f153.tar.gz
leap_cli-d30e9067a94e0d236df65d37b81809ddd6a4f153.tar.bz2
added custom_vagrant_vm_line to Leapfile
Diffstat (limited to 'lib/leap_cli/commands/vagrant.rb')
-rw-r--r--lib/leap_cli/commands/vagrant.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/commands/vagrant.rb b/lib/leap_cli/commands/vagrant.rb
index dfa32f2..02f47a4 100644
--- a/lib/leap_cli/commands/vagrant.rb
+++ b/lib/leap_cli/commands/vagrant.rb
@@ -113,6 +113,7 @@ module LeapCli; module Commands
lines << %[ config.vm.box_url = "http://cloud.github.com/downloads/leapcode/minimal-debian-vagrant/leap-wheezy.box"]
lines << %[ config.vm.network :hostonly, "#{node.ip_address}", :netmask => "#{netmask}"]
lines << %[ config.vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]]
+ lines << %[ #{leapfile.custom_vagrant_vm_line}] if leapfile.custom_vagrant_vm_line
lines << %[ end]
end
end