Make sure hostname has no domain 79/20579/1
authorLusheng Ji <lji@research.att.com>
Wed, 25 Oct 2017 16:13:28 +0000 (12:13 -0400)
committerLusheng Ji <lji@research.att.com>
Wed, 25 Oct 2017 16:13:34 +0000 (12:13 -0400)
commit9a3daed8316f7c455b53250217d36172593236a4
treeedaf486b22c02c9a1cef747b756b0c16e293cd1c
parent0788d68a70b6bd62197e2246b0288c5adfacfdc7
Make sure hostname has no domain

In some environments, hostname returns a hostname with a
default domain, e.g novalocal. This domain may conflict
with the dns_domain option setting.  Added a test to strip
off domain if that happens.

Issue-Id: DCAEGEN2-128
Change-Id: Ie4995f542305e465ec11689acccc053f081f2df2
Signed-off-by: Lusheng Ji <lji@research.att.com>
blueprints/centos_vm.yaml-template