buildman: fix btrfs mounting in worker cloudconfig

This commit is contained in:
Jimmy Zelinskie 2015-05-13 17:40:35 -04:00
parent ee2736bb17
commit 86f400fdf5

View file

@ -61,12 +61,14 @@ coreos:
ExecStart=/usr/bin/truncate --size=28G /var/lib/docker.btrfs
ExecStart=/usr/sbin/mkfs.btrfs /var/lib/docker.btrfs
- name: var-lib-docker.mount
command: start
enable: true
content: |
[Unit]
Before=docker.service
After=format-var-lib-docker.service
Requires=format-var-lib-docker.service
[Install]
RequiredBy=docker.service
[Mount]
What=/var/lib/docker.btrfs
Where=/var/lib/docker