From 76f722a9412a88dc8bfc38004f3676a3f2b37835 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Sat, 16 Jun 2012 12:40:58 -0700 Subject: If bringing up, return whatever the bring up result is, otherwise false. --- cloudinit/distros/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cloudinit') diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py index 0ee7f06b..79d441ac 100644 --- a/cloudinit/distros/__init__.py +++ b/cloudinit/distros/__init__.py @@ -80,7 +80,8 @@ class Distro(object): self._write_network(settings) # Now try to bring them up if bring_up: - self._interface_action('up') + return self._interface_action('up') + return False @abc.abstractmethod def set_timezone(self, tz): -- cgit v1.2.3