sonic-buildimage/files/image_config/hostname
Devesh Pathak 85e3a81f47
Fix to improve hostname handling (#12064)
* Fix to improve hostname handling
If config_db.json is missing hostname entry, hostname-config.sh ends
up deleting existing entry too and hostname changes to default 'localhost'

* default hostname to 'sonic` if missing in config file
2022-10-25 14:51:02 -07:00
..
hostname-config.service [services] introduce sonic.target (#5705) 2021-02-25 14:26:24 +02:00
hostname-config.sh Fix to improve hostname handling (#12064) 2022-10-25 14:51:02 -07:00