I’m trying to boot HaikuOS with Vagrant, in order to conveniently setup virtual machines for developing system applications. However, the base box appears to be malfunctioning, lacking some kind of important metadata that Vagrant requires to boot successfully.
Vagrant.configure("2") do |config|
config.vm.box = "haikuos/x86_64"
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'haikuos/x86_64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'haikuos/x86_64'
default: URL: https://vagrantcloud.com/haikuos/x86_64
==> default: Adding box 'haikuos/x86_64' (v51054) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/haikuos/boxes/x86_64/versions/51054/providers/virtualbox.box
==> default: Successfully added box 'haikuos/x86_64' (v51054) for 'virtualbox'!
==> default: Importing base box 'haikuos/x86_64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'haikuos/x86_64' is up to date...
==> default: Setting the name of the VM: vagrant-haikuos-cpp_default_1509238386840_61299
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
The guest operating system of the machine could not be detected!
Vagrant requires this knowledge to perform specific tasks such
as mounting shared folders and configuring networks. Please add
the ability to detect this guest operating system to Vagrant
by creating a plugin or reporting a bug.
I’m using Vagrant 2.0.0 with a macOS Sierra host, by the way.