Skip to content

Commit

Permalink
Fix nixvirt-diskprep resize error
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Jun 11, 2024
1 parent 24fdcbf commit c114954
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions user-machines/vm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ in
chattr +C "$volumePath" 2> /dev/null || {
log " couldn't disable copy-on-write, maybe the filesystem doesn't support it?"
}
fi
log " resizing volume to $VOLUME_SIZE..."
qemu-img resize -f raw "$volumePath" "$VOLUME_SIZE"
log " resizing volume to $VOLUME_SIZE..."
qemu-img resize -f raw "$volumePath" "$VOLUME_SIZE"
log " done!"
log " done!"
fi
done
for uuid in ${concatStringsSep " " (map (user: user.uuid) deletedUsers)}; do
Expand Down

0 comments on commit c114954

Please sign in to comment.