Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: Vagrantfile

Issue 9359028: Provide Puppet with a fully qualified domain name so it doesn`t needto do reverse DNS lookups and … (Closed)
Patch Set: Created Feb. 8, 2013, 11:13 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Vagrantfile
===================================================================
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,13 +1,13 @@
def define_standard_vm(config, host_name, ip)
config.vm.define host_name do |config|
config.vm.box = 'precise64'
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
- config.vm.host_name = host_name
+ config.vm.host_name = "#{host_name}.adblockplus.org"
config.vm.network :hostonly, ip
config.vm.customize ["modifyvm", :id, "--cpus", 1]
config.vm.provision :shell, :inline => '
if ! test -f /usr/bin/puppet; then
sudo apt-get update && sudo apt-get install -y puppet
fi'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld