From c48df37ac42a2f5b2ea70cba9dd282032161ec39 Mon Sep 17 00:00:00 2001 From: Max Illfelder Date: Tue, 6 Sep 2016 22:31:05 -0700 Subject: Make enabling Ethernet interfaces EL compatible. (#335) - Remove the IsEnabled function because it does not work on CentOS and RHEL. - Changed the method to enable network interfaces for CentOS and RHEL. - Update the README for the new configuration option. --- README.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 603df3d..17925a2 100644 --- a/README.md +++ b/README.md @@ -136,13 +136,8 @@ The library provides the following functions: A network utilities library retrieves information about a network interface. The library is used for IP forwarding and for setting up an Ethernet interface on -boot. - -The library exposes the following functions: - -* **GetNetworkInterface** retrieves the network interface name associated - with a MAC address. -* **IsEnabled** checks whether a network interface is enabled. +boot. The library exposes a `GetNetworkInterface` function that retrieves the +network interface name associated with a MAC address. ## Daemons @@ -249,7 +244,7 @@ InstanceSetup | set_multiqueue | `false` skips multiqueue driver suppo IpForwarding | ethernet_proto_id | Protocol ID string for daemon added routes. MetadataScripts | startup | `false` disables startup script execution. MetadataScripts | shutdown | `false` disables shutdown script execution. -NetworkInterfaces | dhcp_binary | DHCP binary string that enables a network interface parameter. +NetworkInterfaces | dhcp_command | String to execute to enable network interfaces. NetworkInterfaces | setup | `false` disables network interface setup. Setting `network_enabled` to `false` will skip setting up host keys and the -- cgit v1.2.1