Skip to content

Conversation

@cold-brewed
Copy link
Contributor

Summary

Highlights:

  • MAC Address configuration
  • UUID generation based on vm path
  • Detection when a vm is moved or copied
  • Regeneration of configured MAC addresses when a vm is copied
  • Centered device name in configuration dialog

Details

MAC addresses can now be configured in device settings. A Generate button is provided to generate a random MAC. Previously this could only be done by manually editing the config file.

Note: The input dialog is filtered and limited to only hex characters.

Screenshot:

macconfig

Note that the device name is now centered. It was previously left justified.

A UUID is now generated during vm start. The UUID is based on the filesystem path of the current vm and is stored in the General section. This is used to detect when a vm has moved from its original location.

The primary reason to detect this event is to allow MAC addresses to be regenerated. If you clone / copy a vm and try to network them you will likely have issues due to the identical MAC addresses.

Example dialog when a move is detected:

movewarning

  • If you indicate that it was copied, a new UUID is generated and new MAC addresses are generated for each configured NIC.
  • If you indicate that it was moved, a new UUID is generated and no further action is taken.
  • If you hit cancel, no action is taken

Checklist

  • I have discussed this with core contributors already

References

N/A

@OBattler OBattler merged commit 3fc27b9 into 86Box:master Apr 4, 2024
@cold-brewed cold-brewed deleted the uuid-mac branch August 23, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants