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

Anirudh Gupta Anirudh.Gupta at hsc.com
Wed Jul 31 05:08:17 UTC 2019


Hi,

Thanks Yan.

Regards
Anirudh Gupta

From: Chen, Yan <yan.chen at intel.com>
Sent: 31 July 2019 06:55
To: Anirudh Gupta <Anirudh.Gupta at hsc.com>; starlingx-discuss at lists.starlingx.io; starlingx-announce at lists.starlingx.io
Subject: RE: [Starlingx-discuss] <StarlingX 2018.10> Config-file approach to run Config-controller

Hi,
You can try the attached sample files.

Yan

From: Anirudh Gupta [mailto:Anirudh.Gupta at hsc.com]
Sent: Tuesday, July 30, 2019 19:03
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto: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<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> 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.
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/20190731/de44bb5b/attachment-0001.html>


More information about the Starlingx-discuss mailing list