summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playbooks/aws/openshift-cluster/templates/user_data.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/aws/openshift-cluster/templates/user_data.j2 b/playbooks/aws/openshift-cluster/templates/user_data.j2
index aea43026f..22cccd977 100644
--- a/playbooks/aws/openshift-cluster/templates/user_data.j2
+++ b/playbooks/aws/openshift-cluster/templates/user_data.j2
@@ -1,4 +1,6 @@
#cloud-config
+devices: ['/var'] # Workaround for https://bugs.launchpad.net/bugs/1455436
+
mounts:
- [ xvdb ]
- [ ephemeral0 ]
@@ -13,4 +15,9 @@ write_files:
{% if deployment_type == 'online' %}
disable_root: 0
+growpart:
+ mode: auto
+ devices: ['/var']
+runcmd:
+- xfs_growfs /var
{% endif %}