This way, we can make sure that if a template needs to be expanded, the
result will have all the filesystems correctly expanded, fitting into
the new sizes of their partitions.
---
builder/builder.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index 6850f8f..feb6e0d 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -575,7 +575,7 @@ let main () =
if verbose () then g#set_verbose true;
g#disk_create ?preallocation ofile oformat osize in
let cmd =
- sprintf "virt-resize%s%s%s --output-format %s%s%s %s %s"
+ sprintf "virt-resize%s%s%s --output-format %s%s%s --unknown-filesystems
error %s %s"
(if verbose () then " --verbose" else " --quiet")
(if is_block_device ofile then " --no-sparse" else "")
(match iformat with
--
2.1.0