What is the replacement / etc / hostconfig

I am working on materials related to NetBoot, this requires configuration in /etc/hostconfig. But this file no longer exists on my system.

After a quick Google, I found that with OS X, Yosemite is /etc/hostconfigno longer installed as part of the OS.

So what is its replacement?

+4
source share
1 answer

From what I see, I think it is scutil. For example, I install HOSTNAMEusing

sudo scutil --set HostName my-host-name

(Also, sudo is optional - if you leave it you can just get a TouchID hint, for example.)

0
source

Source: https://habr.com/ru/post/1612719/


All Articles