Removed size arg from GCP make-fs command.

The make-gcp script in the mkimage-gcp tool creates a virtual fs of 1GB, excactly. If your filesystem needs to be larger, then make-gcp errors in a poorly explained way. Simply removing the arg makes the fs the same size as the image used to build it.

Signed-off-by: Daniel Smith <daniel@razorsecure.com>
This commit is contained in:
Daniel Dean 2019-03-07 14:20:42 +00:00
parent ff9a659213
commit 1653e9dffb

View File

@ -42,7 +42,7 @@ cd ..
tar cf files.tar -C files . tar cf files.tar -C files .
virt-make-fs --size=1G --type=ext4 --partition files.tar disk.raw virt-make-fs --type=ext4 --partition files.tar disk.raw
guestfish -a disk.raw -m /dev/sda1 <<EOF guestfish -a disk.raw -m /dev/sda1 <<EOF
upload /usr/lib/SYSLINUX/mbr.bin /mbr.bin upload /usr/lib/SYSLINUX/mbr.bin /mbr.bin