From: Fabian Deutsch fabiand@fedoraproject.org
This could help to keep the disk size down during installation, if the FS within the VM is also supporting TRIM.
Signed-off-by: Fabian Deutsch fabiand@fedoraproject.org --- src/sbin/livemedia-creator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 59add02..aa8774f 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -141,7 +141,7 @@ class VirtualInstall(object): args.append(ks)
disk_opts = "path={0}".format(disk_img) - disk_opts += ",cache=unsafe" + disk_opts += ",cache=unsafe,discard=unmap" if qcow2: disk_opts += ",format=qcow2" else:
anaconda-patches@lists.fedorahosted.org