diff --git a/bin/homestead b/bin/homestead index a4b0a789d..a9efab815 100755 --- a/bin/homestead +++ b/bin/homestead @@ -8,7 +8,7 @@ if(is_file( __DIR__.'/../vendor/autoload.php')) { require __DIR__.'/../../../autoload.php'; } -$app = new Symfony\Component\Console\Application('Laravel Homestead', '14.0.0'); +$app = new Symfony\Component\Console\Application('Laravel Homestead', '14.0.1'); $app->add(new Laravel\Homestead\MakeCommand); $app->add(new Laravel\Homestead\WslApplyFeatures); diff --git a/scripts/homestead.rb b/scripts/homestead.rb index aa2898c70..d2b7df84d 100644 --- a/scripts/homestead.rb +++ b/scripts/homestead.rb @@ -25,7 +25,7 @@ def self.configure(config, settings) # Configure A Private Network IP if settings['ip'] != 'autonetwork' - config.vm.network :private_network, ip: settings['ip'] ||= '192.168.56.56', name: "HostOnly", virtualbox__intnet: true + config.vm.network :private_network, ip: settings['ip'] ||= '192.168.56.56' else config.vm.network :private_network, ip: '0.0.0.0', auto_network: true end @@ -45,7 +45,7 @@ def self.configure(config, settings) vb.customize ['modifyvm', :id, '--natdnsproxy1', 'on'] vb.customize ['modifyvm', :id, '--natdnshostresolver1', settings['natdnshostresolver'] ||= 'on'] vb.customize ['modifyvm', :id, '--ostype', 'Ubuntu_64'] - vb.customize ["modifyvm", :id, "--nic9", "hostonlynet", "--host-only-net9=HostOnly"] + if settings.has_key?('gui') && settings['gui'] vb.gui = true end