From d049934626522e4d70c7261cec8a3b622899aa7b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 29 Nov 2021 09:55:38 -0500 Subject: [PATCH] Add a breadcrum to distinfo.yaml to indicate where an image came from --- confluent_server/confluent/osimage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/osimage.py b/confluent_server/confluent/osimage.py index 9eea2c63..74e78ca9 100644 --- a/confluent_server/confluent/osimage.py +++ b/confluent_server/confluent/osimage.py @@ -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 + ':')