-
Notifications
You must be signed in to change notification settings - Fork 59
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
Platform Request: VirtualBox #1008
Comments
This would be a good project for someone who wants to get experience adding a platform to the OS. There's a WIP coreos-assembler PR in coreos/coreos-assembler#2489. I think the remaining items are:
|
One thing that seems specifically useful about this platform is for testing changes (specifically Ignition) locally, particularly on non-Linux (e.g. MacOS and Windows). Basically if we documented to people how to have a I know nowadays particularly on Windows there's WSL, and there's even an effort to have something like FCOS in WSL but part of the idea of Vagrant is that it's cross-platform. |
We discussed this at the community meeting today. There didn't seem to be any objects to adding a platform for VirtualBox. Only some concerns from Neal about the OVA image format. He's going to followup with @bgilbert on that. |
A few followups to the meeting discussion:
|
@bgilbert Works for me, yeah! |
working on other issues, I don't think I will get to this any time soon. Someone else can feel free to pick it up. |
This functionality went into |
With updated documentation to use these new images at https://docs.fedoraproject.org/en-US/fedora-coreos/provisioning-virtualbox/ |
In order to implement support for a new cloud platform in Fedora CoreOS, we need to know several things about the platform. Please try to answer as many questions as you can.
VirtualBox is a user-friendly, OSS desktop virtualization package that runs on Linux, Windows, and macOS. It provides a free, cross-platform alternative to VMware.
VirtualBox. It's sometimes shortened to VBox. Ignition already uses the
virtualbox
platform ID.There's a "guest property" mechanism, added to Ignition in coreos/ignition#1269. The host-guest interface allows detecting that a property is absent.
There's no special platform support for SSH keys.
DHCP.
No special support.
No. Graphical console is the default. Serial ports can be configured but the output is not accessible via the GUI.
It's possible to report status to the host via guest properties, but not required.
VirtualBox Guest Additions are implemented in C++ and included in the VirtualBox source tree. They provide several optional features.
VirtualBox can import existing disk images in a variety of formats, including its native VDI format. However, this requires manually creating a VM afterward. It also supports creating VMs from OVF and OVA packages containing VMDK disk images. OVA seems like the best image format for publication.
The primary user interface for setting guest properties is to include the new value inline in a
VBoxManage
command. With this approach, Ignition configs are constrained by OS-specific limits on command line length.The text was updated successfully, but these errors were encountered: