buildman: fix btrfs mounting in worker cloudconfig
This commit is contained in:
parent
ee2736bb17
commit
86f400fdf5
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue