Try to fix long wait on boot when cloud-init can't find datasource
diff --git a/centos-7/configs/cloud/cloud.cfg b/centos-7/configs/cloud/cloud.cfg
index dd84aa2..e985cbf 100644
--- a/centos-7/configs/cloud/cloud.cfg
+++ b/centos-7/configs/cloud/cloud.cfg
@@ -49,6 +49,7 @@
- phone-home
- final-message
+datasource_list: [ NoCloud, ConfigDrive, Ec2, OpenStack, OVF, MAAS, None ]
datasource:
Ec2:
timeout: 5 # (defaults to 50 seconds)
@@ -56,6 +57,9 @@
OpenStack:
timeout: 5 # (defaults to 50 seconds)
max_wait: 10 # (defaults to 120 seconds)
+ MAAS:
+ timeout: 5 # (defaults to 50 seconds)
+ max_wait: 10 # (defaults to 120 seconds)
growpart:
mode: auto