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.37 ./share/scripts/get-host-uuid
docker-utils-0.1.35 ./share/scripts/get-host-uuid
docker-utils-0.1.34 ./share/scripts/get-host-uuid
docker-utils-0.1.33 ./share/scripts/get-host-uuid
docker-utils-0.1.32 ./share/scripts/get-host-uuid
docker-utils-0.1.31 ./share/scripts/get-host-uuid
docker-utils-0.1.30 ./share/scripts/get-host-uuid
docker-utils-0.1.29 ./share/scripts/get-host-uuid
docker-utils-0.1.27 ./share/scripts/get-host-uuid
docker-utils-0.1.26 ./share/scripts/get-host-uuid
docker-utils-0.1.25 ./share/scripts/get-host-uuid
docker-utils-0.1.24 ./share/scripts/get-host-uuid
docker-utils-0.1.23 ./share/scripts/get-host-uuid
docker-utils-0.1.22 ./share/scripts/get-host-uuid
docker-utils-0.1.21 ./share/scripts/get-host-uuid
docker-utils-0.1.20 ./share/scripts/get-host-uuid
docker-utils-0.1.19 ./share/scripts/get-host-uuid
docker-utils-0.1.18 ./share/scripts/get-host-uuid
docker-utils-0.1.17 ./share/scripts/get-host-uuid
docker-utils-0.1.16 ./share/scripts/get-host-uuid