SHA256
1
0
forked from pool/cloud-init
cloud-init/cloud-init-digital-ocean-datasource-enable-by-default.patch
2016-10-19 13:24:14 +00:00

24 lines
674 B
Diff

From 7ae201166402fbf2e6c1632028be956a954835ef Mon Sep 17 00:00:00 2001
From: Scott Moser <smoser@brickies.net>
Date: Tue, 18 Oct 2016 12:30:38 -0400
Subject: DigitalOcean: enable usage of data source by default.
Just add DigitalOcean to the list of datasources that are used
if there is no 'datasource_list' provided in config.
diff --git a/cloudinit/settings.py b/cloudinit/settings.py
index 8c258ea..a968271 100644
--- a/cloudinit/settings.py
+++ b/cloudinit/settings.py
@@ -32,6 +32,7 @@ CFG_BUILTIN = {
'NoCloud',
'ConfigDrive',
'OpenNebula',
+ 'DigitalOcean',
'Azure',
'AltCloud',
'OVF',
--
cgit v0.10.2