added: check if fuelip is None or empty string
This commit is contained in:
parent
80611c9527
commit
0f49a0b8d7
@ -1,4 +1,4 @@
|
||||
recursive-include rq *
|
||||
recursive-include doc *
|
||||
include README.md
|
||||
include config.yaml
|
||||
include example-config.yaml
|
||||
|
@ -335,6 +335,9 @@ class Nodes(object):
|
||||
logging.error("directory %s doesn't exist" % (self.dirname))
|
||||
sys.exit(1)
|
||||
self.files = get_dir_structure(conf.rqdir)[os.path.basename(self.dirname)]
|
||||
if (conf.fuelip is None) or (conf.fuelip == ""):
|
||||
logging.error('Nodes: looks like fuelip is not set(%s)' % conf.fuelip)
|
||||
sys.exit(7)
|
||||
self.fuelip = conf.fuelip
|
||||
self.sshopts = conf.ssh['opts']
|
||||
self.sshvars = conf.ssh['vars']
|
||||
|
Loading…
x
Reference in New Issue
Block a user