<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks Yan.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Anirudh Gupta<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-IN">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-IN"> Chen, Yan <yan.chen@intel.com>
<br>
<b>Sent:</b> 31 July 2019 06:55<br>
<b>To:</b> Anirudh Gupta <Anirudh.Gupta@hsc.com>; starlingx-discuss@lists.starlingx.io; starlingx-announce@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] <StarlingX 2018.10> Config-file approach to run Config-controller<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">You can try the attached sample files.<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Yan<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span lang="EN-US" style="mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="mso-fareast-language:ZH-CN"> Anirudh Gupta [<a href="mailto:Anirudh.Gupta@hsc.com">mailto:Anirudh.Gupta@hsc.com</a>]
<br>
<b>Sent:</b> Tuesday, July 30, 2019 19:03<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>;
<a href="mailto:starlingx-announce@lists.starlingx.io">starlingx-announce@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] <StarlingX 2018.10> Config-file approach to run Config-controller<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Hi Team,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using StarlingX 2018.10 Release and want to reduce the manual effort in running “<i>config-controller”.</i><o:p></o:p></p>
<p class="MsoNormal">For this I found a way in which we can pass a Config-File as a parameter while running the “<i>config-controller”.</i><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="623" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal">localhost:~$ config_controller --help<o:p></o:p></p>
<p class="MsoNormal">Usage: /usr/bin/config_controller<o:p></o:p></p>
<p class="MsoNormal">Perform system configuration<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The default action is to perform the initial configuration for the system.<o:p></o:p></p>
<p class="MsoNormal">The following options are also available:<o:p></o:p></p>
<p class="MsoNormal"><b>--config-file <name>     Perform configuration using INI file<o:p></o:p></b></p>
<p class="MsoNormal">--backup <name>          Backup configuration using the given name<o:p></o:p></p>
<p class="MsoNormal">--clone-iso <name>       Clone and create an image with the given file name<o:p></o:p></p>
<p class="MsoNormal">--clone-status           Status of the last installation of cloned image<o:p></o:p></p>
<p class="MsoNormal">--restore-system <name>  Restore system configuration from backup file with<o:p></o:p></p>
<p class="MsoNormal">                         the given name, full path required<o:p></o:p></p>
<p class="MsoNormal">--restore-images <name>  Restore images from backup file with the given name,<o:p></o:p></p>
<p class="MsoNormal">                         full path required<o:p></o:p></p>
<p class="MsoNormal">--restore-complete       Complete restore of controller-0--allow-ssh              Allow configuration to be executed in ssh<o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But I can’t find any Sample config-file available in the documents.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also I found a bug <a href="https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fstarlingx%2F%2Bbug%2F1814833&data=02%7C01%7C%7Cfe6a6c5d48c6499b836908d71555de70%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637001330879363589&sdata=NEI7nHV5qFwd%2BUH4NV%2BBOJVggqbU%2Fx4XQ%2Fob3s0bZjA%3D&reserved=0">
https://bugs.launchpad.net/starlingx/+bug/1814833</a> which has issue in running the config_file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can someone please tell if the method of passing config-file in supported in StarlingX 2018.10?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If yes, can you please share a sample config-file?<o:p></o:p></p>
<p class="MsoNormal">If the method is not supported, can someone please share a method to reduce the manual efforts and automate the inputs required in the config_controller?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Anirudh Gupta<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:ZH-CN">DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from
 disclosure. The information contained in this electronic mail transmission is intended for use only by the individual or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error,
 please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage
 arising from the use of the information transmitted by this email including damage from virus.
<o:p></o:p></span></p>
</div>
DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission is intended for use only by the individual
 or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this electronic mail transmission without disclosing,
 copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.
</body>
</html>