This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/main by this push:
     new 380884ed500 Fix data being replicated on VM's metadata file in the VR 
(#10987)
380884ed500 is described below

commit 380884ed5002662adbf9304a17221f556fbc66b8
Author: Daniel Augusto Veronezi Salvador 
<[email protected]>
AuthorDate: Fri Jun 13 15:13:09 2025 -0300

    Fix data being replicated on VM's metadata file in the VR (#10987)
---
 systemvm/debian/opt/cloud/bin/configure.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/systemvm/debian/opt/cloud/bin/configure.py 
b/systemvm/debian/opt/cloud/bin/configure.py
index cf0b71ab436..908f798a665 100755
--- a/systemvm/debian/opt/cloud/bin/configure.py
+++ b/systemvm/debian/opt/cloud/bin/configure.py
@@ -908,6 +908,7 @@ class CsVmMetadata(CsDataBag):
             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)

Reply via email to