Skip to content

馃悰 Bug : VM time is not synced after snapshot revert

Description

When you revert a VM that you took a full snapshot (with RAM) the time remains at the time of the snapshot. You are then unable to update repository or install packages.

Solution

Add a task to sync time when reverting to snapshot.

Way to reproduce

# At Day D : Take a snapshot
ludus snapshots create snapshot_name -n 188

# At Day D +2 : Revert to the snapshot
ludus snapshots revert snapshot_name -n 188

# Error message :
E:Release file for http://deb.debian.org/debian/dists/bookworm-updates/InRelease is not valid yet (invalid for another 1d 21h 35min 8s).