Create mandatory /etc/nodepool for later use
Since nodepool-base element is optional /etc/nodepool folder still must exist for node information. Change-Id: I838f4eb1ea260b1e2eed3c2768e955f34067dcc5
This commit is contained in:
parent
c48dbe9a91
commit
44ee08c2d7
@ -625,7 +625,9 @@ class NodeLauncher(threading.Thread):
|
||||
if not host:
|
||||
raise Exception("Unable to log in via SSH")
|
||||
|
||||
host.ssh("test for config dir", "ls /etc/nodepool")
|
||||
host.ssh("Create config dir", "sudo mkdir -p /etc/nodepool")
|
||||
host.ssh("Change config dir owner",
|
||||
"sudo chown %s -R /etc/nodepool" % self.image.username)
|
||||
|
||||
ftp = host.client.open_sftp()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user