diff --git a/app/calculation/hostname_generator.rb b/app/calculation/hostname_generator.rb index 4eb4fa3b..70fd76e1 100644 --- a/app/calculation/hostname_generator.rb +++ b/app/calculation/hostname_generator.rb @@ -11,7 +11,7 @@ def result hostname_sequence_suffix, hostname_team_suffix ].compact - hostname = "#{subject.hostname}#{sequences.join('_')}" + hostname = "#{subject.hostname}#{sequences.join('-')}" domain = nic&.network&.full_domain.to_s.gsub(/#+/, '{{ team_nr_str }}') Struct.new(:hostname, :domain, :fqdn).new(