File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,42 @@ Will return the following output::
6767 address fd87::1
6868 netmask 128
6969
70+ General settings
71+ ----------------
72+
73+ The general settings reside in the ``general `` key of the
74+ *configuration dictionary *, which follows the
75+ `NetJSON General object <http://netjson.org/rfc.html#general1 >`_ definition
76+ (see the link for the detailed specification).
77+
78+ General settings example
79+ ~~~~~~~~~~~~~~~~~~~~~~~~
80+
81+ The following *configuration dictionary *:
82+
83+ .. code-block :: python
84+
85+ {
86+ " general" : {
87+ " hostname" : " routerA" ,
88+ " timezone" : " UTC" ,
89+ " ula_prefix" : " fd8e:f40a:6701::/48"
90+ }
91+ }
92+
93+ Will be rendered as follows::
94+
95+ config: /etc/hostname
96+ routerA
97+
98+ run commands:
99+ $ timedatectl set-timezone UTC
100+
101+ After modifying the config files run the following command to change the
102+ hostname::
103+
104+ $ /etc/init.d/hostname.sh start
105+
70106Network interfaces
71107------------------
72108
You can’t perform that action at this time.
0 commit comments