Make the size of the build node HDD configurable

Fixes #1520
This commit is contained in:
Joseph Schorr 2016-06-06 11:23:55 -04:00
parent 7d356c451b
commit f9469a84b3
2 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,7 @@ coreos:
ConditionPathExists=!/var/lib/docker.btrfs
[Service]
Type=oneshot
ExecStart=/usr/bin/truncate --size=42G /var/lib/docker.btrfs
ExecStart=/usr/bin/truncate --size={{ volume_size }} /var/lib/docker.btrfs
ExecStart=/usr/sbin/mkfs.btrfs /var/lib/docker.btrfs
- name: var-lib-docker.mount
enable: true