Sha256: be41ecbb0aafb9ef0de92cf84ddeeaf502032c0aa65f126ac52fba8871a4d893

Contents?: true

Size: 127 Bytes

Versions: 31

Compression:

Stored size: 127 Bytes

Contents

#!/usr/bin/env ruby

require 'uuid'

fqdn = ARGV.shift || `hostname -f`.chomp

puts UUID.create_sha1(fqdn, UUID::NameSpace_DNS)

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
docker-utils-0.1.15 ./share/scripts/get-host-uuid
docker-utils-0.1.14 ./share/scripts/get-host-uuid
docker-utils-0.1.13 ./share/scripts/get-host-uuid
docker-utils-0.1.11 ./share/scripts/get-host-uuid
docker-utils-0.1.10 ./share/scripts/get-host-uuid
docker-utils-0.1.9 ./share/scripts/get-host-uuid
docker-utils-0.1.8 ./share/scripts/get-host-uuid
docker-utils-0.1.7 ./share/scripts/get-host-uuid
docker-utils-0.1.6 ./share/scripts/get-host-uuid
docker-utils-0.1.5 ./share/scripts/get-host-uuid
docker-utils-0.1.4 ./share/scripts/get-host-uuid