diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-03-23 20:39:21 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-03-23 20:39:21 -0600 |
commit | bdeec31dca5d9a8dc98ae31fc20a29557a2ec59e (patch) | |
tree | a100581e7e8cd464bc5acc6770744d5cdb136350 | |
parent | e0f644b7c8c76bd63d242558685722cc70d9c51d (diff) | |
download | vyos-cloud-init-bdeec31dca5d9a8dc98ae31fc20a29557a2ec59e.tar.gz vyos-cloud-init-bdeec31dca5d9a8dc98ae31fc20a29557a2ec59e.zip |
Enable IBMCloud datasource in settings.py.
This just got missed in the IBMCloud datasource addition.
Add it to the builtin list of datasources.
-rw-r--r-- | cloudinit/settings.py | 1 | ||||
-rw-r--r-- | tests/unittests/test_datasource/test_common.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/cloudinit/settings.py b/cloudinit/settings.py index 5fe749d4..dde5749d 100644 --- a/cloudinit/settings.py +++ b/cloudinit/settings.py @@ -37,6 +37,7 @@ CFG_BUILTIN = { 'Bigstep', 'Scaleway', 'Hetzner', + 'IBMCloud', # At the end to act as a 'catch' when none of the above work... 'None', ], diff --git a/tests/unittests/test_datasource/test_common.py b/tests/unittests/test_datasource/test_common.py index 6d2dc5b5..ec333888 100644 --- a/tests/unittests/test_datasource/test_common.py +++ b/tests/unittests/test_datasource/test_common.py @@ -15,6 +15,7 @@ from cloudinit.sources import ( DataSourceEc2 as Ec2, DataSourceGCE as GCE, DataSourceHetzner as Hetzner, + DataSourceIBMCloud as IBMCloud, DataSourceMAAS as MAAS, DataSourceNoCloud as NoCloud, DataSourceOpenNebula as OpenNebula, @@ -33,6 +34,7 @@ DEFAULT_LOCAL = [ ConfigDrive.DataSourceConfigDrive, DigitalOcean.DataSourceDigitalOcean, Hetzner.DataSourceHetzner, + IBMCloud.DataSourceIBMCloud, NoCloud.DataSourceNoCloud, OpenNebula.DataSourceOpenNebula, OVF.DataSourceOVF, |