save merge of config overrides in vagrant
Previously, the vagrant config file did not work b/c its config was not being merged into the config that is used.
This commit is contained in:
		
							
								
								
									
										2
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
								
							| @@ -5,7 +5,7 @@ def parse_vagrant_config( | |||||||
|   config = {'gui_mode' => "false", 'operatingsystem' => 'ubuntu'} |   config = {'gui_mode' => "false", 'operatingsystem' => 'ubuntu'} | ||||||
|   if File.exists?(config_file) |   if File.exists?(config_file) | ||||||
|     overrides = YAML.load_file(config_file) |     overrides = YAML.load_file(config_file) | ||||||
|     config.merge(overrides) |     config.merge!(overrides) | ||||||
|   end |   end | ||||||
|   config |   config | ||||||
| end | end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dan Bode
					Dan Bode