Don't always use aws.conf
We don't usually need it, and it makes it harder to put apiserver into a container.
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
{% endif -%}
|
||||
|
||||
{% elif grains.cloud == 'aws' -%}
|
||||
{% set cloud_config = "--cloud_config=/etc/aws.conf" -%}
|
||||
{% if grains.cloud_config is defined -%}
|
||||
{% set cloud_config = "--cloud_config=" + grains.cloud_config -%}
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
|
||||
{% endif -%}
|
||||
|
Reference in New Issue
Block a user