Replies: 2 comments 3 replies
-
If I understand you correctly, you expect Rancher Desktop to manage VMs running on other hosts besides the current desktop/laptop. That would be outside the current scope of the project. As for running |
Beta Was this translation helpful? Give feedback.
2 replies
-
I am able to run qemu using the QEMU_SYSTEM_X86_64 env var to set specific cpu and machine options. Thanks for that information.
How can I get rancher-desktop to use this for when it launches lima? I have tried /etc/environment and my .bashrc but it doesn’t seem to inherit or use the QEMU_SYSTEM_X86_64 var.
From: Jan Dubois ***@***.***>
Sent: December 7, 2021 1:08 AM
To: rancher-sandbox/rancher-desktop ***@***.***>
Cc: Mike Gingell ***@***.***>; Author ***@***.***>
Subject: Re: [rancher-sandbox/rancher-desktop] Linux install without Lima/qemu (Discussion #1069)
I need to tell Lima to launch qemu with different cpu and machine/accelerator options. I can't seem to find any way to change those qemu command line options.
There is a debugging feature in lima that would allow you to do that, e.g. you can override the -cpu choice like this:
$ QEMU_SYSTEM_X86_64="qemu-system-x86_64 -cpu Haswell-v4" limactl start
There is extra code in lima to make sure some options will not be added by lima if they were already passed in by the environment variable: https://github.com/lima-vm/lima/blob/master/pkg/qemu/qemu.go#L121-L142
I think I might still not fully understand what you are trying to do, but it does feels more like a lima issue/question to me right now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1069 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABUSX34LAL23J5ZDBDAGHNLUPWJE3ANCNFSM5JLZBWNQ> .
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> . <https://github.com/notifications/beacon/ABUSX353CMLSDHOKNWVVKY3UPWJE3A5CNFSM5JLZBWN2YY3PNVWWK3TUL52HS4DFWFCGS43DOVZXG2LPNZBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAANOKSI.gif>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It might be useful to have a rancher-desktop that could install resources and tools locally, rather than using qemu VMs through Lima. This would allow rancher-desktop to operate on virtualized platforms such as VBox and vSphere/ESXi. The current version has no options for Lima to change qemu options to run on virtualized hardware and there are no obvious ways to install tools (nerdctl, etc) locally. Installing k3s and other associated tools is possible, but rancher-desktop could be a one-stop shop for this use case.
Beta Was this translation helpful? Give feedback.
All reactions