<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi there,<br><br>I am planning to add a "console output" tab to Sunstone, that will show the boot process output. For that I need to capture the boot process into a log.<br>I am able to generate the console output by editing the deployment file manually, and it works fine.<br>Now I need to automate, and would like to ask for some guidance.<br>The changes are the following:<br><br>deployment.$VMID<br><br> <serial type="file"><br>  <source path="/var/lib/one/datastores/$SYSTEMDATASTORE/$VMID/console.log"/><br> </serial><br><br>I need to:<br><br>- Pre-create the console.log file, otherwise the instance will not start; where/how should I do it?<br>- Add the serial port to the template, with parameters that must be expanded (the $VMID and $SYSTEMDATASTORE); how should I do it?<br><br>Regards,<br>Ricardo<br>                                           </div></body>
</html>