-
Notifications
You must be signed in to change notification settings - Fork 668
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
Add configuration option for storage location #2417
Comments
Hi @daniel-lenz, have a look at #1215, it's now possible through the |
Ok, wow! I'll give it a try now 👍 |
Is not working for me setting MULTIPASS_STORAGE in the override.conf is not working: Jan 29 17:34:27 notebook systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 5. |
Now I can not use multipass at all: Launch an instance (by default you get the current Ubuntu LTS)
Run commands in that instance, try running bash (logout or ctrl-d to quit)
Pass a cloud-init metadata file to an instance on launch
See your instances
Stop and start instances
Get help
commands:
|
seems to be a permission problem: |
still getting: my fstab: |
dmesg tells me: |
@daniel-lenz you need to connect the |
@Saviq saving multipass data on "/media" worked now, but not on another mount point e.g. "/vms". I also disabled apparmor=0 intermediately in grub defaults and activated it again, rebooted and now I am unsure that apparmor.service is running correctly, so I opened an issue with the apparmor-devs here: https://gitlab.com/apparmor/apparmor/-/issues/212 |
ok, apparmor developers checked the service configuration and all looks as it should. Afterward removing the parameter "apparmor=0" from grub default and reboot. Multipass works as expected. Good job! |
Glad to hear. I'll leave it open for the full |
yeah, great @Saviq keep it coming 👍 |
OMG, shout RTFM to me, my bad! 👍 |
Unfortunately it looks like we can no longer set environment variables on macOS using the method described in the documentation. $ launchctl setenv MULTIPASS_STORAGE "/Volumes/WD2/multipass"
Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged So that EDIT: As a workaround I've executed the following: $ launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
$ cd /var/root/Library/Application Support
$ rm -rf multipassd
$ ln -s /Volumes/WD2/multipass/data multipassd
$ launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist |
Same as @cpressland . As of macOS 13.4 (Ventura), it looks like |
The workaround is documented in https://multipass.run/docs/configure-multipass-storage |
What are you trying to do?
Option or configuration needed to save instances/images on a custom path.
What's your proposed solution?
Add configuration file or configuration item (multipass set default.image.path=/some/path).
The text was updated successfully, but these errors were encountered: