diff options
author | Joshua Harlow <harlowja@gmail.com> | 2012-08-19 22:28:14 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@gmail.com> | 2012-08-19 22:28:14 -0700 |
commit | 0247b1be0ae3d1bc913b5e368dadf22e26b54b86 (patch) | |
tree | 25c07e9079612edbd6901788ace9a7e13bb1d8d8 /cloudinit/settings.py | |
parent | 4540821caa31dc9ed0bedf521cd36975ddafebfa (diff) | |
download | vyos-cloud-init-0247b1be0ae3d1bc913b5e368dadf22e26b54b86.tar.gz vyos-cloud-init-0247b1be0ae3d1bc913b5e368dadf22e26b54b86.zip |
Add a 'none' datasource as a last resort fallback
1. This will allow a basically empty datasource to be
activated (as the last datasource) when no other
datasources work. This allows modules to still
run (if they can, new function added to the datasource
if modules want to check if cloud-init is in this
'disconnected' state).
Diffstat (limited to 'cloudinit/settings.py')
-rw-r--r-- | cloudinit/settings.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cloudinit/settings.py b/cloudinit/settings.py index cdfc31ae..8cc9e3b4 100644 --- a/cloudinit/settings.py +++ b/cloudinit/settings.py @@ -35,7 +35,9 @@ CFG_BUILTIN = { 'OVF', 'MAAS', 'Ec2', - 'CloudStack' + 'CloudStack', + # At the end to act as a 'catch' when none of the above work... + 'None', ], 'def_log_file': '/var/log/cloud-init.log', 'log_cfgs': [], |