Documentation
¶
Overview ¶
Package netconf brings up the first virtio-net interface and obtains an address via DHCPv4. The cmdline `ip=` parameter is also supported (static).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteResolvConf ¶
WriteResolvConf is the public hook for overriding /etc/resolv.conf after netconf.Setup has already run with DHCP-supplied DNS. cloud- boot-init uses it to honour `cloudboot.dns=` from the kernel cmdline (early) and the plan's `dns = [...]` field (after plan parse). Empty `ips` is a no-op so the DHCP default keeps its place.
Types ¶
Click to show internal directories.
Click to hide internal directories.