-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There should be an option to run provisioning scripts after mounts are done #287
Comments
Provisioning scripts should be executed always after mounts are setup |
#720 (comment) shows an example where a provisioning script needs to run before mounts are working: to add support for a distribution not directly supported by lima. You can't install sshfs if your mounts rely on sshfs already being installed. |
Is this issue still accurate? I seem to have no problem accessing files from the host via mounts in my provisioning scripts, using v0.16.0. Wondering whether this was intentionally fixed, or if I'm just getting lucky with timing somehow. |
I believe this issue is accurate when you are using |
Right now provisioning scripts cannot use files from the host filesystem because the mounts are created by the hostagent on request of the guestagent. There should be a mechanism to run additional provisioning scripts once the instance is deemed to be fully initialized.
The text was updated successfully, but these errors were encountered: