fix: switch off the inherited set_hostname (#13) #14

Merged
christianmanivong merged 1 commits from fix/opt-out-set-hostname into main 2026-10-29 22:15:57 +00:00
Owner

Closes nothing yet — tracks #13.

set_hostname = None: napalm-linux now renames through hostnamectl//etc/hostname (NAPALM/napalm-linux#45), which QTS would report as done and lose on the next boot (name in uLinux.conf, /etc in RAM). Off like the other inherited actions QTS cannot take; netOrk then says the name is kept in netOrk only (NetOrk/netork#1671). A real QTS rename is #13, once it can be harvested from a box.

Tests: 46 passed (1 new), ruff, mypy, ratchet green locally.

Closes nothing yet — tracks #13. `set_hostname = None`: napalm-linux now renames through `hostnamectl`/`/etc/hostname` (NAPALM/napalm-linux#45), which QTS would report as done and lose on the next boot (name in `uLinux.conf`, `/etc` in RAM). Off like the other inherited actions QTS cannot take; netOrk then says the name is kept in netOrk only (NetOrk/netork#1671). A real QTS rename is #13, once it can be harvested from a box. Tests: 46 passed (1 new), ruff, mypy, ratchet green locally.
christianmanivong added 1 commit 2026-10-29 22:11:20 +00:00
fix: switch off the inherited set_hostname (#13)
driver / standard (pull_request) Successful in 15s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m8s
driver / test (3.12) (pull_request) Successful in 1m7s
driver / test (3.13) (pull_request) Successful in 59s
driver / lowest (pull_request) Successful in 28s
driver / build (pull_request) Successful in 30s
driver / security (pull_request) Successful in 1m6s
CI / driver (pull_request) Successful in 2m44s
driver / publish (pull_request) Skipped
00c8391cab
napalm-linux now renames a host through hostnamectl and /etc/hostname
(NAPALM/napalm-linux#45). On QTS that would report success and be gone
after the next boot: the name lives in uLinux.conf, /etc in RAM. Off like
the other inherited actions QTS cannot take, so netOrk says the name is
kept in netOrk only; a QTS rename follows once it can be built against a
real box (#13).
christianmanivong merged commit 2234875423 into main 2026-10-29 22:15:57 +00:00
christianmanivong deleted branch fix/opt-out-set-hostname 2026-10-29 22:15:57 +00:00
Sign in to join this conversation.