Skip to content
Snippets Groups Projects
Unverified Commit 813f89a6 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

docs: features/multidomain: update docs to mention gluon-switch-domain

parent 02c8650b
No related branches found
No related tags found
No related merge requests found
...@@ -88,18 +88,25 @@ domain of a router, if and only if one of the above conditions matches. ...@@ -88,18 +88,25 @@ domain of a router, if and only if one of the above conditions matches.
Switching the domain Switching the domain
-------------------- --------------------
**via commandline**: Via commandline
^^^^^^^^^^^^^^^
:: ::
uci set gluon.core.domain="newdomaincode" gluon-switch-domain 'newdomaincode'
gluon-reconfigure
reboot
**via config mode:** When the node is not in config mode, ``gluon-switch-domain`` will automatically
reboot the node by default. This can be suppressed by passing ``--no-reboot``::
To allow switching the domain via config mode, ``config-mode-domain-select`` gluon-switch-domain --no-reboot 'newdomaincode'
has to be added to GLUON_FEATURES in the site.mk.
Switching the domain without reboot is currently **experimental**.
Via config mode
^^^^^^^^^^^^^^^
To allow switching the domain via config mode, add ``config-mode-domain-select``
to GLUON_FEATURES in site.mk.
|image0| |image0|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment