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
How do you set a static IP through Terraform or is this not possible? I see you can set the network switch name, the network adapter name and a static MAC if you want to use DHCP, but how can you configure the network adapter to have a static IP?
So far the only way I see to do this is:
A) configure it in the image you are using to clone off of
B) Output the name of the Ethernet adapter and then use a script i.e. PowerShell to configure the adapter with a static address later.
Is there a better way and I'm just missing it?
The text was updated successfully, but these errors were encountered:
Terraform Version
1.5.7
How do you set a static IP through Terraform or is this not possible? I see you can set the network switch name, the network adapter name and a static MAC if you want to use DHCP, but how can you configure the network adapter to have a static IP?
So far the only way I see to do this is:
A) configure it in the image you are using to clone off of
B) Output the name of the Ethernet adapter and then use a script i.e. PowerShell to configure the adapter with a static address later.
Is there a better way and I'm just missing it?
The text was updated successfully, but these errors were encountered: