From 5f743b5a0e8fa56298d35c9394e66ee8caf5d46a Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Wed, 1 Aug 2018 03:51:47 +0200 Subject: [PATCH] Fix name/names bug (#917) --- scripts/homestead.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/homestead.rb b/scripts/homestead.rb index f2866fab9..7e6c6ca41 100644 --- a/scripts/homestead.rb +++ b/scripts/homestead.rb @@ -32,7 +32,7 @@ def self.configure(config, settings) # Configure A Few VirtualBox Settings config.vm.provider 'virtualbox' do |vb| - vb.name = settings['names'] ||= 'homestead-7' + vb.name = settings['name'] ||= 'homestead-7' vb.customize ['modifyvm', :id, '--memory', settings['memory'] ||= '2048'] vb.customize ['modifyvm', :id, '--cpus', settings['cpus'] ||= '1'] vb.customize ['modifyvm', :id, '--natdnsproxy1', 'on'] @@ -51,7 +51,7 @@ def self.configure(config, settings) # Configure A Few VMware Settings ['vmware_fusion', 'vmware_workstation'].each do |vmware| config.vm.provider vmware do |v| - v.vmx['displayName'] = settings['names'] ||= 'homestead-7' + v.vmx['displayName'] = settings['name'] ||= 'homestead-7' v.vmx['memsize'] = settings['memory'] ||= 2048 v.vmx['numvcpus'] = settings['cpus'] ||= 1 v.vmx['guestOS'] = 'ubuntu-64' @@ -63,7 +63,7 @@ def self.configure(config, settings) # Configure A Few Parallels Settings config.vm.provider 'parallels' do |v| - v.name = settings['names'] ||= 'homestead-7' + v.name = settings['name'] ||= 'homestead-7' v.update_guest_tools = settings['update_parallels_tools'] ||= false v.memory = settings['memory'] ||= 2048 v.cpus = settings['cpus'] ||= 1