feat: ship an iol-xe-base.txt base config for IOL Docker nodes

Follows the IOU pattern: the file lives in gns3server/configs/ and the
controller installs it into the user's configs directory on startup
(never overwriting a customized copy). Referenced by the documented
GNS3_IOL_STARTUP_CONFIG=iol-xe-base.txt template knob — without it a
fresh install had no file for the knob to resolve and nodes booted to
the initial configuration dialog.

Also fixes the configs directory named in the docs (~/GNS3/configs,
the configs_path server setting default — not ~/.config/GNS3/...).
This commit is contained in:
YueGuobin committed 2026-09-05 21:54:52 +08:00
1 parent 5685f40dd6
commit e318afef86
3 files changed
+24 -3

No files matched your search

+5 -3
View File
@@ -128,9 +128,11 @@ from it boots with that configuration as its personal starting point.
```
* The file lives in the controller's configs directory (the `configs_path`
server setting, e.g. `~/.config/GNS3/3.1/configs`) — the same place IOU
and VPCS base configs live. `%h` in the content is replaced with the node
name at start.
server setting, by default `~/GNS3/configs`) — the same place IOU and
VPCS base configs live. A minimal `iol-xe-base.txt` ships with the
server and is installed there on startup (never overwriting a
user-modified copy); an absolute path in the knob bypasses the directory
entirely. `%h` in the content is replaced with the node name at start.
* **Creation materializes it once**: the controller reads the file and
sends its content with the node; afterwards the knob is consumed and the
template file is never referenced again — editing it does not affect