Commit 9d86458a authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Christos Stavrakakis
Browse files

deploy: install ExtStorage in /usr/local/lib/ganeti



Since archipelago-ganeti installs the provider under
/usr/share/ganeti/extstorage we can/should not clone our repo in the
same dir. Thus we clone it under /usr/local/lib/ganeti/ which is
also in ExtStorage search path.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent a1de5c18
......@@ -1180,11 +1180,11 @@ class ArchipGaneti(SynnefoComponent):
class ExtStorage(SynnefoComponent):
def prepare(self):
return ["mkdir -p /usr/share/ganeti/"]
return ["mkdir -p /usr/local/lib/ganeti/"]
def initialize(self):
url = "http://code.grnet.gr/git/extstorage"
extdir = "/usr/share/ganeti/extstorage"
extdir = "/usr/local/lib/ganeti/extstorage"
return [
"git clone %s %s" % (url, extdir)
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment