diff --git a/lib/refrepo/input_loader.rb b/lib/refrepo/input_loader.rb index 550b2fa5cb625637a3359d042eef911b53e5d3c5..3025fea079eac68618871333467eaebaec26050e 100644 --- a/lib/refrepo/input_loader.rb +++ b/lib/refrepo/input_loader.rb @@ -183,6 +183,7 @@ end def add_kavlan_ipv6s(h) h['sites'].each_pair do |site_uid, hs| hs['clusters'].each_pair do |_cluster_uid, hc| + next if !hc['kavlan'] # skip clusters where kavlan is globally set to false (used for initial cluster installation) hc['nodes'].each_pair do |node_uid, hn| kvl_adapters = hn['network_adapters'].select { |_k,v| v['mountable'] and (v['kavlan'] or not v.has_key?('kavlan')) and v['interface'] == 'Ethernet' } if kvl_adapters.length > 0