Skip to content

Commit 380884e

Browse files
authored
Fix data being replicated on VM's metadata file in the VR (#10987)
1 parent 675ee2a commit 380884e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systemvm/debian/opt/cloud/bin/configure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@ def __createfile(self, ip, folder, file, data):
908908
if os.path.exists(metamanifest):
909909
fh = open(metamanifest, "a+")
910910
self.__exflock(fh)
911+
fh.seek(0)
911912
if file not in fh.read():
912913
fh.write(file + '\n')
913914
self.__unflock(fh)

0 commit comments

Comments
 (0)