-
Notifications
You must be signed in to change notification settings - Fork 23
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
Enable game server ip address allocation for macvlan driver. #49
base: main
Are you sure you want to change the base?
Conversation
Issue: For macvlan driver default docker config assign first available ip. Game servers get ip assigned in order of container creation. Solution proposal: Wings support only one docker network for each game server. To assign correct IP default allocation could be used. Allocations doesn't limit IPs at all, admin could set desired game server container ip and port by default allocation.
This seems fine to me. I don't think it would work yet as our config loading order still first loads the default struct |
I can test if it will work with pelican. |
I've been running it for more than a month now without any noteworthy issue. |
The question is does it still work for people that does not use macvlan. |
In short: the proposed change applies only to wings that set The current implementation does not work for an interface of type My proposed fix makes the containers assigned to It is worth remembering that the use of Edit: |
The config logic should fil in all fields that are empty and can not be empty |
This is pterodactyl/wings#203 cherrypicked onto current main branch.
Tagging @madpeteguy for notice.