You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the --ephemeral flag when running for macosvm in a GitLab Runner custom executor. If 2 jobs start at the same time, is there a trick to mapping the process ID with the IP or MAC address that gets assigned to the instance?
Is it possible to specify a MAC address via config file or command line argument? (Then I could identify the IP using arp -a.)
Thanks for your work on this project!
The text was updated successfully, but these errors were encountered:
getchardy
changed the title
Set or determine IP or MAC address for ephemeral instances
Possible to set or determine IP or MAC address for ephemeral instances?
Oct 19, 2022
The command line argument --net nat:<MAC> can be used to add a nat network with specific MAC address
Finally a new argument --mac <MAC> overrides the MAC address of first network in the configuration. It is processed last after all arguments and the configuration file so this is a way to unconditionally override a MAC address on the command line. This is likely the most useful of the lot if you are using --ephemeral.
I am using the
--ephemeral
flag when running formacosvm
in a GitLab Runner custom executor. If 2 jobs start at the same time, is there a trick to mapping the process ID with the IP or MAC address that gets assigned to the instance?Is it possible to specify a MAC address via config file or command line argument? (Then I could identify the IP using
arp -a
.)Thanks for your work on this project!
The text was updated successfully, but these errors were encountered: