fix(build_image): Don't over-size root partitions in base images.

Right now the initial (pre image_to_vm) images oversize the root
partitions, creating the expected 1GB filesystem in a 2GB partition.
image_to_vm later shrinks the partition back down to match. Just start
out with 1GB partitions to begin with instead.
This commit is contained in:
Michael Marineau 2013-08-16 21:12:24 -04:00
parent 89fa680892
commit d8e670a2b3

View File

@ -23,7 +23,7 @@
"label":"ROOT-A", "label":"ROOT-A",
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132", "uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
"type":"coreos-rootfs", "type":"coreos-rootfs",
"blocks":"4194304", "blocks":"2097152",
"fs_blocks":"262144" "fs_blocks":"262144"
}, },
{ {
@ -31,7 +31,7 @@
"label":"ROOT-B", "label":"ROOT-B",
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c", "uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
"type":"coreos-rootfs", "type":"coreos-rootfs",
"blocks":"4194304", "blocks":"2097152",
"fs_blocks":"262144" "fs_blocks":"262144"
}, },
{ {
@ -114,22 +114,6 @@
} }
], ],
"vm": [ "vm": [
{
"num": 3,
"label":"ROOT-A",
"uuid":"7130c94a-213a-4e5a-8e26-6cce9662f132",
"type":"coreos-rootfs",
"blocks":"2097152",
"fs_blocks":"262144"
},
{
"num": 4,
"label":"ROOT-B",
"uuid":"e03dd35c-7c2d-4a47-b3fe-27f15780a57c",
"type":"coreos-rootfs",
"blocks":"2097152",
"fs_blocks":"262144"
},
{ {
"num": 9, "num": 9,
"label":"STATE", "label":"STATE",