mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-07 12:06:00 +00:00
Add a breadcrum to distinfo.yaml to indicate where an image came from
This commit is contained in:
parent
425f5276b3
commit
d049934626
@ -569,6 +569,7 @@ def import_image(filename, callback, backend=False, mfd=None):
|
||||
targpath = '/var/lib/confluent/distributions/' + targpath
|
||||
os.makedirs(targpath, 0o755)
|
||||
filename = os.path.abspath(filename)
|
||||
identity['importedfile'] = filename
|
||||
os.chdir(targpath)
|
||||
if not backend:
|
||||
print('Importing OS to ' + targpath + ':')
|
||||
|
Loading…
Reference in New Issue
Block a user