#cloud-config devices: ['/var'] # Workaround for https://bugs.launchpad.net/bugs/1455436 mounts: - [ xvdb ] - [ ephemeral0 ] write_files: - content: | DEVS=/dev/xvdb VG=docker_vg path: /etc/sysconfig/docker-storage-setup owner: root:root permissions: '0644' {% if deployment_type == 'online' %} disable_root: 0 growpart: mode: auto devices: ['/var'] runcmd: - xfs_growfs /var {% endif %}