|
@@ -1,6 +1,5 @@
|
|
#cloud-config
|
|
#cloud-config
|
|
-devices: ['/var'] # Workaround for https://bugs.launchpad.net/bugs/1455436
|
|
|
|
-
|
|
|
|
|
|
+{% if type == 'node' %}
|
|
mounts:
|
|
mounts:
|
|
- [ xvdb ]
|
|
- [ xvdb ]
|
|
- [ ephemeral0 ]
|
|
- [ ephemeral0 ]
|
|
@@ -12,8 +11,11 @@ write_files:
|
|
path: /etc/sysconfig/docker-storage-setup
|
|
path: /etc/sysconfig/docker-storage-setup
|
|
owner: root:root
|
|
owner: root:root
|
|
permissions: '0644'
|
|
permissions: '0644'
|
|
|
|
+{% endif %}
|
|
|
|
|
|
{% if deployment_type == 'online' %}
|
|
{% if deployment_type == 'online' %}
|
|
|
|
+devices: ['/var'] # Workaround for https://bugs.launchpad.net/bugs/1455436
|
|
|
|
+
|
|
disable_root: 0
|
|
disable_root: 0
|
|
growpart:
|
|
growpart:
|
|
mode: auto
|
|
mode: auto
|