Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGateway ¶
DefaultGateway parses /proc/net/route for the IP address of the default gateway.
func OSRelease ¶
OSRelease renders a valid /etc/os-release file and writes it to disk. The node's OS Image field is reported by the node from /etc/os-release.
func ResolvConf ¶
ResolvConf symlinks /proc/net/pnp to /etc/resolv.conf. See https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.