config tool:add vmname in launch script
add vmname in generated launched script by a comment Tracked-On: #7410 Signed-off-by: hangliu1 <hang1.liu@linux.intel.com>
This commit is contained in:
parent
0c5f7b5985
commit
1540d3479f
|
@ -112,6 +112,14 @@ class LaunchScript:
|
|||
s = ""
|
||||
|
||||
with open(self.script_template_path, "r") as f:
|
||||
s += f.read(99)
|
||||
|
||||
s += "# Launch script for VM name: "
|
||||
s += f"{self._vm_name}\n"
|
||||
s += "\n"
|
||||
|
||||
with open(self.script_template_path, "r") as f:
|
||||
f.seek(99,0)
|
||||
s += f.read()
|
||||
|
||||
s += """
|
||||
|
|
Loading…
Reference in New Issue