Fix devstack image-cache script
Change-Id: Ia28ad64fb45234dabbb6dedd1a4c27b60f6969a7
This commit is contained in:
parent
8bdeca836a
commit
58650028ab
@ -20,7 +20,7 @@ import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
DEVSTACK='~/workspace-cache/devstack'
|
||||
DEVSTACK=os.path.expanduser('~/workspace-cache/devstack')
|
||||
|
||||
def run_local(cmd, status=False, cwd='.', env={}):
|
||||
print "Running:", cmd
|
||||
@ -116,3 +116,6 @@ def main():
|
||||
continue
|
||||
run_local(['wget', '-nv', '-c', url,
|
||||
'-O', '~/cache/files/%s' % fname])
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user