Skip to content
Permalink
Browse files

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>
  • Loading branch information...
danrzs committed Mar 7, 2019
1 parent ff9a659 commit 1653e9dffba71cc0e7dcdf481fe05a7b575788a4
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/mkimage-gcp/make-gcp
@@ -42,7 +42,7 @@ cd ..

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
upload /usr/lib/SYSLINUX/mbr.bin /mbr.bin

0 comments on commit 1653e9d

Please sign in to comment.
You can’t perform that action at this time.