diff options
Diffstat (limited to 'cloudinit/sources/DataSourceConfigDrive.py')
-rw-r--r-- | cloudinit/sources/DataSourceConfigDrive.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py index 23f791aa..af205d86 100644 --- a/cloudinit/sources/DataSourceConfigDrive.py +++ b/cloudinit/sources/DataSourceConfigDrive.py @@ -47,6 +47,8 @@ class ConfigDriveHelper(object): self.distro = distro def on_first_boot(self, data): + if not data: + data = {} if 'network_config' in data: LOG.debug("Updating network interfaces from config drive") self.distro.apply_network(data['network_config']) |