actions/runner-images

Add VirtualBox and Vagrant for macOS instances

AkihiroSuda opened this issue ยท 13 comments

Tool information

  • Tool name: VirtualBox and Vagrant
  • Add or update? Add
  • Desired version: The version that can be installed with brew, or the latest version if possible.
  • Approximate size: Hundreds of megabytes
  • If this is an add request:

Area for Triage:

Question, Bug, or Feature?:

Feature

Virtual environments affected

  • macOS 10.15

(Only macOS instances seem to support nested virtualization currently)

Can this tool be installed during the build?
No, because of the VirtualBox's kernel extension issue: #429

So VirtualBox needs to be preinstalled as in HAXM.

Are you willing to submit a PR?
No

Did you stop any active Virtualbox instances before upgrading?

That was something I forgot to do.

I would also be interested in this! Or at least approving the virtualbox team id kext, which allows folks to install virtualbox themselves.

Is this already supported on Linux then?

No, only macOS instances seem to support nested virtualization currently

Hello, pull request with vagrant and virtualbox was merged and changes would be added to next images rollout.

Hello, pull request with vagrant and virtualbox was merged and changes would be added to next images rollout.

Only for macOS though? The Linux issue was closed.

@oxr463 , Yes, only for macOS.

Hello, Vagrant and VirtualBox were added to macOS. If you have any concerns feel free to reopen the issue.

This seems removed on macOS 11.0 instances? ๐Ÿ˜ข

@AkihiroSuda, There is no stable VirtualBox release for macOS Big Sur.

VirtualBox 6.1.16 seems working fine on macOS 11.1 on my local MacBook, though I haven't tested macOS 11.0.

Opened #2999 for Big Sur

FYI, now that the macos-10.15 environment is deprecated, I've switched to macos-12 for my projects and it's working :)

Here are my workflow files: