Skip to content

Commit 359ea09

Browse files
GutoVeronezidhslove
authored andcommitted
Fix data being replicated on VM's metadata file in the VR (apache#10987)
1 parent 9a0688e commit 359ea09

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)