flatcar / Flatcar

Flatcar project repository for issue tracking, project documentation, etc.
https://www.flatcar.org/
Apache License 2.0
681 stars 30 forks source link

Vagrant vmware_fusion not starting up #159

Open tinjaw opened 4 years ago

tinjaw commented 4 years ago

Description

I want to try out flatcar. I have vagrant and the vmware_fusion plugin.

Impact

I cannot explore flatcar

Environment and steps to reproduce

(base) chaimkrause@macmini flatcar % vagrant box add --name flatcar-alpha https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_vagrant_vmware_fusion.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'flatcar-alpha' (v0) for provider:
    box: Downloading: https://alpha.release.flatcar-linux.net/amd64-usr/current/flatcar_production_vagrant_vmware_fusion.box
==> box: Successfully added box 'flatcar-alpha' (v0) for 'vmware_fusion'!
(base) chaimkrause@macmini flatcar % rm Vagrantfile
(base) chaimkrause@macmini flatcar % vagrant init flatcar-alpha
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
(base) chaimkrause@macmini flatcar % vagrant up
Bringing machine 'default' up with 'vmware_desktop' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

VMware Desktop Provider:
* The MAC address provided for `base_mac` is invalid. Ensure the MAC
address provided is valid and begins with the VMware Organizationally
Unique Identifier (00:50:56).

(base) chaimkrause@macmini flatcar %

Expected behavior smooth start up

Additional information Please add any information here that does not fit the above format.

tormath1 commented 2 years ago

Hi @tinjaw and sorry for the delay. I think there are two issues:

Currently, generated MAC address is something like: 080027E87F12 - we should patch this file here: https://github.com/flatcar-linux/scripts/blob/392ce4089b4da662bcd13c7b82cf753cb8289abd/build_library/virtualbox_ovf.sh#L37-L42