Skip to content

Commit deaa418

Browse files
authored
custom-config documentation update (#169)
* update custom-config docs
1 parent 49c14bf commit deaa418

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/user_guide/advanced_functionality/custom_config.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ The custom config feature allows users to personalize the configuration of an ed
55
process, this user-supplied cloud-init file is applied, enabling tailored setup and initialization of the edgenode to meet specific requirements. This
66
approach offers flexibility and control over the environment, making it easier to automate and customize deployments.
77

8-
The custom config feature is available to use through CLI or Orchestrator API's. You can use the `orch-cli` to add a custom config file to the edgenode.
9-
:doc:`/user_guide/set_up_edge_infra/orch_cli/orch_cli_guide`
10-
The custom config file is a cloud-init file that will be applied during the provisioning process.
8+
The custom config feature is available to use through CLI or Orchestrator API's. The :doc:`orch-cli </user_guide/set_up_edge_infra/orch_cli/orch_cli_guide>`
9+
commands can be used to add/delete a custom config file to the edgenode. The custom config file is a cloud-init file that will be applied during the provisioning process.
1110

1211

1312
#. To add your cloud-init through CLI, save the **cloud-init** file to your local machine and apply the below command.
@@ -98,3 +97,12 @@ The custom config file is a cloud-init file that will be applied during the prov
9897
addresses:
9998
- 8.8.8.8
10099
- 8.8.4.4
100+
101+
#. To associate a custom config with an edgenode during its configuration, use the following command:
102+
103+
.. code-block:: bash
104+
105+
orch-cli create host <host-name> --import-from-csv <host-list-csv-file> --cloud-init <custom-config-resource-id> --other-flags ...
106+
107+
This command links the specified custom config to the host, ensuring that the cloud-init file is applied during the provisioning process.
108+
Refer :doc:`orch-cli documentation </user_guide/set_up_edge_infra/orch_cli/orch_cli_guide>` for more options to manage host.

0 commit comments

Comments
 (0)