Skip to content

Commit 3009a3e

Browse files
Merge pull request #264008 from PatAltimore/patricka-gh-docker-network
Add apply to config article
2 parents 7f630a7 + bfdb727 commit 3009a3e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/iot-edge/configure-device.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@ title: Configure Azure IoT Edge device settings
33
description: This article shows you how to configure Azure IoT Edge device settings and options using the config.toml file.
44
author: PatAltimore
55
ms.author: patricka
6-
ms.date: 04/20/2023
6+
ms.date: 02/06/2024
77
ms.topic: how-to
88
ms.service: iot-edge
99
services: iot-edge
1010
---
1111

1212
# Configure IoT Edge device settings
1313

14-
This article shows settings and options for configuring the IoT Edge *config.toml* file of an IoT Edge device. IoT Edge uses the *config.toml* file to initialize settings for the device. Each of the sections of the *config.toml* file has several options. Not all options are mandatory, as they apply to specific scenarios.
14+
This article shows settings and options for configuring the IoT Edge */etc/aziot/config.toml* file of an IoT Edge device. IoT Edge uses the *config.toml* file to initialize settings for the device. Each of the sections of the *config.toml* file has several options. Not all options are mandatory, as they apply to specific scenarios.
1515

1616
A template containing all options can be found in the *config.toml.edge.template* file within the */etc/aziot* directory on an IoT Edge device. You can copy the contents of the whole template or sections of the template into your *config.toml* file. Uncomment the sections you need. Be aware not to copy over parameters you have already defined.
1717

18+
If you change a device's configuration, use `sudo iotedge config apply` to apply the changes.
19+
1820
## Global parameters
1921

2022
The **hostname**, **parent_hostname**, **trust_bundle_cert**, **allow_elevated_docker_permissions**, and **auto_reprovisioning_mode** parameters must be at the beginning of the configuration file before any other sections. Adding parameters before a collection of settings ensures they're applied correctly. For more information on valid syntax, see [toml.io ](https://toml.io/).

0 commit comments

Comments
 (0)