Skip to content

Commit

Permalink
Fix name/names bug (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir authored and svpernova09 committed Aug 1, 2018
1 parent 2398199 commit 5f743b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/homestead.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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'
Expand All @@ -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
Expand Down

2 comments on commit 5f743b5

@jimmerioles
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for this to be tagged, thanks! 👍

@svpernova09
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.