diff --git a/.rubocop.yml b/.rubocop.yml index fb417bb..470dd98 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -43,7 +43,7 @@ Style/LineEndConcatenation: Layout/LineLength: Description: 'Limit lines to 139 characters.' Enabled: true - Max: 139 + Max: 180 Metrics/CyclomaticComplexity: Description: 'Avoid complex methods.' diff --git a/lib/vagrant-zones/driver.rb b/lib/vagrant-zones/driver.rb index cd12119..546ed4f 100644 --- a/lib/vagrant-zones/driver.rb +++ b/lib/vagrant-zones/driver.rb @@ -1056,10 +1056,6 @@ def zonecfgnicconfig(uii, opts) strt = "#{@pfexec} zonecfg -z #{@machine.name} " cie = config.cloud_init_enabled aa = config.allowed_address - if opts[:vlan].nil? - else - - end case config.brand when 'lx' shrtstr1 = %(set allowed-address=#{allowed_address}; add property (name=gateway,value="#{defrouter}"); )