-
Notifications
You must be signed in to change notification settings - Fork 669
Put machineID to the MAC address hasher + update docs + misc #139
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
Conversation
c55f420
to
9134604
Compare
After merging this one I'm gonna move the repo to https://github.com/lima-vm and release v0.6.0 |
a89727d
to
f506f58
Compare
README.md
Outdated
|
||
The default guest IP 192.168.5.15 is not accessible from the host and other guests. | ||
|
||
To allow accessing the guest IP from the host and other virtual machines, enable [`vde_vmnet`](https://github.com/lima-vm/vde_vmnet). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe reword to make clear that this will add one or more additional routable IPs to the guest. It will still not allow access "the" guest IP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
pkg/limayaml/default.yaml
Outdated
# - url: "vde:///var/run/vde.ctl" | ||
# # VDE Switch port number (not TCP/UDP port number). Set to 65535 for PTP mode. | ||
# # Default: 0 | ||
# port: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe call it switchPort
to make it more explicit? Because people may delete the comments in their own config files and then later get confused.
We already use macAddress
below, so we are not aiming for the shortest possible names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
pkg/limayaml/validate.go
Outdated
} | ||
} | ||
} else if runtime.GOOS != "linux" { | ||
logrus.Warnf("field %s.url is unlikely to work for %s (unless you managed to port over libvdeplug4 to %s by yourself)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put %s.url
in backquotes.
The quoted text feels slightly snarky to me. Maybe "(unless libvdeplug4 has been ported to %s and is installed)" is more neutral?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finished my review
f506f58
to
e6a3e86
Compare
Signed-off-by: Akihiro Suda <[email protected]>
"5" is the magic number in the Lima ecosystem. (Visit https://en.wiktionary.org/wiki/lima and Command-F "five") But the second hex number is changed to 2 to satisfy the convention for local MAC addresses (https://en.wikipedia.org/wiki/MAC_address#Ranges_of_group_and_locally_administered_addresses) Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
Signed-off-by: Akihiro Suda <[email protected]>
It is called "URL" so we should support at least "vde://" prefix Signed-off-by: Akihiro Suda <[email protected]>
See https://github.com/lima-vm/vde_vmnet/tree/v0.4.0#ptp-mode-switchless-mode Signed-off-by: Akihiro Suda <[email protected]>
e6a3e86
to
de30a2e
Compare
btw maybe we should rename |
To follow the latest VDE nomenclature. rd235/vdeplug4@0899842 Signed-off-by: Akihiro Suda <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fix #135