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

Anirudh Gupta Anirudh.Gupta at hsc.com
Tue Jul 30 11:02:33 UTC 2019


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?

Regards
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-discuss/attachments/20190730/c85e6a72/attachment.html>


More information about the Starlingx-discuss mailing list