diff --git a/systemvm/debian/opt/cloud/bin/configure.py b/systemvm/debian/opt/cloud/bin/configure.py index cf0b71ab436a..908f798a665c 100755 --- a/systemvm/debian/opt/cloud/bin/configure.py +++ b/systemvm/debian/opt/cloud/bin/configure.py @@ -908,6 +908,7 @@ def __createfile(self, ip, folder, file, data): if os.path.exists(metamanifest): fh = open(metamanifest, "a+") self.__exflock(fh) + fh.seek(0) if file not in fh.read(): fh.write(file + '\n') self.__unflock(fh)