rootless-containers / usernetes

Kubernetes without the root privileges

Home Page:https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2033-kubelet-in-userns-aka-rootless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

improve 'hostname' compatibility

Silvanoc opened this issue · comments

The original 'hostname' command provided by the project 'net-tools' doesn't support the option '-I' (see last comment of the 'net-tools' webpage).

Those tools invoking 'hostname' with the option '-I' (rootlesskit.sh and cfssl.sh at the time of this writing) work on distros using a version of 'hostname' supporting '-I' (basically Debian and RedHat derivatives) out of the box. But it doesn't on those using the original 'hostname' (like ArchLinux and derivatives).