Skip to content
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

no cloud agents: virtualbox #73

Closed
bgilbert opened this issue Oct 31, 2018 · 5 comments
Closed

no cloud agents: virtualbox #73

bgilbert opened this issue Oct 31, 2018 · 5 comments
Labels
cloud* related to public/private clouds

Comments

@bgilbert
Copy link
Contributor

In #12 we decided that we'd like to try to not ship cloud agents. This ticket will document investigation and strategy for shipping without a cloud agent on the virtualbox virtualization platform.

See also #41 for a discussion of how to ship cloud specific bits using ignition.

@bgilbert
Copy link
Contributor Author

Container Linux runs on VirtualBox only via Vagrant, and not very well at that. CL never shipped the VirtualBox Guest Additions, nor enabled the VBOXGUEST or VBOXVIDEO kernel drivers. We should investigate whether FCOS can run acceptably without, at least, the Guest Additions.

Ignition currently uses a config-drive hack to obtain userdata on VirtualBox. That's only an acceptable UX when run in Vagrant, since Vagrant glue can generate the config drive on behalf of the user. Also, Ignition has avoided supporting config drives in general, since it's impossible to know how long to wait for a config drive to appear before deciding that the user did not provide one. coreos/ignition#629 proposes improving VirtualBox's "guest properties" system and then using that; we may want to pursue that rather than propagate config-drive support into FCOS.

@dustymabe
Copy link
Member

We offer a virtualbox vagrant box of Fedora Atomic Host today. I don't think we do anything special for it for virtualbox. I haven't heard any complaints.

@bgilbert
Copy link
Contributor Author

bgilbert commented Nov 1, 2021

Ignition just landed built-in support for VirtualBox guest properties. The Fedora kernel already ships the vboxvideo, vboxguest, and vboxsf drivers. That only leaves the Guest Additions, and in my experience, VirtualBox runs VMs adequately without them. I'm going to close this out for now, but we can revisit later if needed.

@bgilbert bgilbert closed this as completed Nov 1, 2021
@cgwalters
Copy link
Member

Are we planning to ship pre-built Vagrant boxes? Or just this is basic enablement for someone who wants to do it on their own today?

@bgilbert
Copy link
Contributor Author

bgilbert commented Nov 1, 2021

This is basic enablement for anyone who wants to run FCOS in a VirtualBox VM, e.g. for local experimentation (the way we'd use QEMU on Linux). Vagrant support is a separable issue; see #144.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloud* related to public/private clouds
Projects
None yet
Development

No branches or pull requests

3 participants