Skip to content

How to make guest time host time? #2396

Answered by jandubois
moenodedev asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a file that can be mounted from macOS onto a linux guest?

No, there is not. Lima does check time against RTC and adjust the time inside the guest when it is more than 10s off.

This is off course not good enough for certain use-cases (e.g. Makefiles), and it may also not always work. We have several open issues about this.

The "proper" solution would be running an NTP server on the host and then syncing to that from inside the guest. Just needs somebody to spend the time to implement it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@moenodedev
Comment options

@afbjorklund
Comment options

Answer selected by moenodedev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants