summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/templates
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-07-09 14:49:57 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-07-09 14:49:57 -0400
commitbcf750f83a87934027358a4631efa54bed73c05f (patch)
tree3ff724b7efe69fd47c6406fd54f2c49569e3059e /playbooks/aws/openshift-cluster/templates
parent76ad5ac0475a6d1d643b833d19aa0240b3ac95a5 (diff)
downloadopenshift-bcf750f83a87934027358a4631efa54bed73c05f.tar.gz
openshift-bcf750f83a87934027358a4631efa54bed73c05f.tar.bz2
openshift-bcf750f83a87934027358a4631efa54bed73c05f.tar.xz
openshift-bcf750f83a87934027358a4631efa54bed73c05f.zip
include user_data template for all host types
Diffstat (limited to 'playbooks/aws/openshift-cluster/templates')
-rw-r--r--playbooks/aws/openshift-cluster/templates/user_data.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/playbooks/aws/openshift-cluster/templates/user_data.j2 b/playbooks/aws/openshift-cluster/templates/user_data.j2
index 22cccd977..db14bacd1 100644
--- a/playbooks/aws/openshift-cluster/templates/user_data.j2
+++ b/playbooks/aws/openshift-cluster/templates/user_data.j2
@@ -1,6 +1,5 @@
#cloud-config
-devices: ['/var'] # Workaround for https://bugs.launchpad.net/bugs/1455436
-
+{% if type == 'node' %}
mounts:
- [ xvdb ]
- [ ephemeral0 ]
@@ -12,8 +11,11 @@ write_files:
path: /etc/sysconfig/docker-storage-setup
owner: root:root
permissions: '0644'
+{% endif %}
{% if deployment_type == 'online' %}
+devices: ['/var'] # Workaround for https://bugs.launchpad.net/bugs/1455436
+
disable_root: 0
growpart:
mode: auto