Skip to content

Commit

Permalink
tests: Use dnsdomainname in mkcert.gmk
Browse files Browse the repository at this point in the history
domainname will print the NIS domainname of the system.
dnsdomainname  will  print  the  domain part of the FQDN.

NIS is barely used anymore so this make mkcert.gmk fail
on a fresh rackspace Fedora 23 install.

Replacing domainname by dnsdomainname makes the script work.

Signed-off-by: Benoît Canet <benoit@scylladb.com>
Message-Id: <1452023177-3777-1-git-send-email-benoit@scylladb.com>
  • Loading branch information
Benoît Canet authored and avikivity committed Jan 7, 2016
1 parent d1c3324 commit 079d1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mkcert.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server = $(shell hostname)
domain = $(shell domainname)
domain = $(shell dnsdomainname)
name = $(server)

country = SE
Expand Down

0 comments on commit 079d1ec

Please sign in to comment.