summaryrefslogtreecommitdiff
path: root/google_compute_engine/network_setup/network_setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'google_compute_engine/network_setup/network_setup.py')
-rwxr-xr-xgoogle_compute_engine/network_setup/network_setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/google_compute_engine/network_setup/network_setup.py b/google_compute_engine/network_setup/network_setup.py
index d528ed4..4c6e3a7 100755
--- a/google_compute_engine/network_setup/network_setup.py
+++ b/google_compute_engine/network_setup/network_setup.py
@@ -34,7 +34,7 @@ class NetworkSetup(object):
"""Constructor.
Args:
- dhcp_binary: string, an executable to enable an ethernet interface.
+ dhcp_binary: string, an executable to enable an Ethernet interface.
debug: bool, True if debug output should write to the console.
"""
self.dhcp_binary = dhcp_binary or 'dhclient'
@@ -56,13 +56,13 @@ class NetworkSetup(object):
command = [self.dhcp_binary, interface]
try:
- self.logger.info('Enabling the ethernet interface %s.', interface)
+ self.logger.info('Enabling the Ethernet interface %s.', interface)
subprocess.check_call(command)
except subprocess.CalledProcessError:
self.logger.warning('Could not enable the interface %s.', interface)
def _SetupNetworkInterfaces(self):
- """Get network interfaces metadata and enable each ethernet interface."""
+ """Get network interfaces metadata and enable each Ethernet interface."""
result = self.watcher.GetMetadata(
metadata_key=self.network_interfaces, recursive=True)