Merge pull request #259 from marineam/disk

fix(disk_layout): Bump up default ROOT volume sizes for btrfs.
This commit is contained in:
Michael Marineau 2014-05-27 11:53:42 -07:00
commit 5727ea4214
2 changed files with 2 additions and 7 deletions

View File

@ -62,7 +62,7 @@
"9":{
"label":"ROOT",
"type":"coreos-resize",
"blocks":"1048576",
"blocks":"4194304",
"fs_type":"btrfs",
"fs_subvolume":"root",
"mount":"/"
@ -71,7 +71,7 @@
"vm":{
"9":{
"label":"ROOT",
"blocks":"6291456"
"blocks":"12582912"
}
},
"vagrant":{

View File

@ -342,11 +342,6 @@ def FormatBtrfs(part, device):
"""
Sudo(['mkfs.btrfs', '--byte-count', part['fs_bytes'],
'--label', part['label'],
# must use mixed chunks at this point because
# the filesystem size is too small.
'--data', 'single',
'--metadata', 'single',
'--mixed',
device])
if part.get('fs_subvolume', None):