summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1a19b4b..4f1ebb5 100644
--- a/README.md
+++ b/README.md
@@ -125,7 +125,7 @@ The configure_set method sets a VyOS configuration:
```
# Set a VyOS configuration
-response = device.configure_set(path=["interfaces ethernet eth0 address '192.168.1.1/24'"])
+response = device.configure_set(path=["interfaces", "ethernet", "eth0", "address", "192.168.1.1/24"])
# Check for errors and print the result
if not response.error:
@@ -148,4 +148,4 @@ response = device.config_file_save(file="/config/test300.config")
```
# Load VyOS configuration from a specific file
response = device.config_file_load(file="/config/test300.config")
-``` \ No newline at end of file
+```