Revision d6d187ec
b/snf-deploy/snfdeploy/components.py | ||
---|---|---|
1171 | 1171 |
|
1172 | 1172 |
class ExtStorage(SynnefoComponent): |
1173 | 1173 |
def prepare(self): |
1174 |
return ["mkdir -p /usr/share/ganeti/"]
|
|
1174 |
return ["mkdir -p /usr/local/lib/ganeti/"]
|
|
1175 | 1175 |
|
1176 | 1176 |
def initialize(self): |
1177 | 1177 |
url = "http://code.grnet.gr/git/extstorage" |
1178 |
extdir = "/usr/share/ganeti/extstorage"
|
|
1178 |
extdir = "/usr/local/lib/ganeti/extstorage"
|
|
1179 | 1179 |
return [ |
1180 | 1180 |
"git clone %s %s" % (url, extdir) |
1181 | 1181 |
] |
Also available in: Unified diff