[Starlingx-announce] [Starlingx-discuss] <StarlingX 2018.10> Config-file approach to run Config-controller

Chen, Yan yan.chen at intel.com
Wed Jul 31 01:24:31 UTC 2019

You can try the attached sample files.


From: Anirudh Gupta [mailto:Anirudh.Gupta at hsc.com]
Sent: Tuesday, July 30, 2019 19:03
To: starlingx-discuss at lists.starlingx.io; starlingx-announce at lists.starlingx.io
Subject: [Starlingx-discuss] <StarlingX 2018.10> Config-file approach to run Config-controller

Hi Team,

I am using StarlingX 2018.10 Release and want to reduce the manual effort in running "config-controller".
For this I found a way in which we can pass a Config-File as a parameter while running the "config-controller".

localhost:~$ config_controller --help
Usage: /usr/bin/config_controller
Perform system configuration

The default action is to perform the initial configuration for the system.
The following options are also available:
--config-file <name>     Perform configuration using INI file
--backup <name>          Backup configuration using the given name
--clone-iso <name>       Clone and create an image with the given file name
--clone-status           Status of the last installation of cloned image
--restore-system <name>  Restore system configuration from backup file with
                         the given name, full path required
--restore-images <name>  Restore images from backup file with the given name,
                         full path required
--restore-complete       Complete restore of controller-0--allow-ssh              Allow configuration to be executed in ssh

But I can't find any Sample config-file available in the documents.

Also I found a bug https://bugs.launchpad.net/starlingx/+bug/1814833 which has issue in running the config_file.

Can someone please tell if the method of passing config-file in supported in StarlingX 2018.10?

If yes, can you please share a sample config-file?
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?

Anirudh Gupta
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-announce/attachments/20190731/7e12cd93/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplex.conf
Type: application/octet-stream
Size: 380 bytes
Desc: simplex.conf
URL: <http://lists.starlingx.io/pipermail/starlingx-announce/attachments/20190731/7e12cd93/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: duplex.conf
Type: application/octet-stream
Size: 709 bytes
Desc: duplex.conf
URL: <http://lists.starlingx.io/pipermail/starlingx-announce/attachments/20190731/7e12cd93/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi.conf
Type: application/octet-stream
Size: 647 bytes
Desc: multi.conf
URL: <http://lists.starlingx.io/pipermail/starlingx-announce/attachments/20190731/7e12cd93/attachment-0002.obj>

More information about the Starlingx-announce mailing list