Skip to content

Commit

Permalink
Merge pull request #375 from v1v/feature/lowercase
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Nov 19, 2020
2 parents 41e80fe + d82f61a commit 5d6ba50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/driver/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Docker < Kitchen::Driver::Base
(Etc.getlogin || 'nologin').gsub(/\W/, ''),
Socket.gethostname.gsub(/\W/, '')[0..20],
Array.new(8) { rand(36).to_s(36) }.join
].join('-')
].join('-').downcase
end

default_config :platform do |driver|
Expand Down

0 comments on commit 5d6ba50

Please sign in to comment.