mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
test-virt-resize: Replace truncate with guestfish sparse.
Another instance of 'truncate' command.
See commit 39df80dcc0 for an
explanation.
This commit is contained in:
@@ -45,7 +45,7 @@ pvresize-size /dev/sda2 200M
|
||||
fsck ext4 /dev/VG/LV
|
||||
EOF
|
||||
|
||||
rm -f test2.img; truncate -s 300M test2.img
|
||||
rm -f test2.img; ../fish/guestfish sparse test2.img 300M
|
||||
$VG ./virt-resize -d --debug-gc \
|
||||
--shrink /dev/sda2 \
|
||||
--format raw --output-format raw \
|
||||
|
||||
Reference in New Issue
Block a user