sonic-buildimage/files/image_config/hostcfgd
Stepan Blyshchak 1ef740361c
[docker_image_ctl.j2] Share UTS namespace with host OS (#4169)
Instead of updating hostname manualy on Config DB hostname change,
simply share containers UTS namespace with host OS.
Ideally, instead of setting `--uts=host` for every container in SONiC,
this setting can be set per container if feature requires.
One behaviour change is introduced in this commit, when `--privileged`
or `--cap-add=CAP_SYS_ADMIN` and `--uts=host` are combined, container
has privilege to change host OS and every other container hostname.
Such privilege should be fixed by limiting containers capabilities.

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2020-02-26 10:56:54 +02:00
..
common-auth-sonic.j2 [aaa] Fix common-auth-sonic.j2 template issue (#2613) 2019-03-02 15:36:35 -08:00
hostcfgd [docker_image_ctl.j2] Share UTS namespace with host OS (#4169) 2020-02-26 10:56:54 +02:00
hostcfgd.service Move all minigraph-related action from rc.local to updategraph (#1452) 2018-03-09 17:17:08 -08:00
tacplus_nss.conf.j2 [tacacs]: skip accessing tacacs servers for local non-tacacs users (#2843) 2019-05-09 14:36:32 -07:00