Add the fstrim to post and avoid 40GB Vagrant files
Fixes:https://pagure.io/cloud-sig/issue/340 Signed-off-by: David Duncan <davdunc@amazon.com>
This commit is contained in:
parent
6a37d23859
commit
bc7e8ce561
@ -135,5 +135,8 @@ rm -f /etc/NetworkManager/system-connections/*.nmconnection
|
|||||||
# Clear machine-id on pre generated images
|
# Clear machine-id on pre generated images
|
||||||
truncate -s 0 /etc/machine-id
|
truncate -s 0 /etc/machine-id
|
||||||
|
|
||||||
|
# add fstrim -av to the post section until BZ#1971186 is resolved
|
||||||
|
fstrim -av
|
||||||
|
|
||||||
%end
|
%end
|
||||||
##### end kickstart post ############################################
|
##### end kickstart post ############################################
|
||||||
|
Loading…
Reference in New Issue
Block a user