Skip to content
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

Add support for Setting MTU in network_interface under clone customize for vsphere_virtual_machine #1889

Closed
4 tasks done
LargoUsagi opened this issue Apr 25, 2023 · 4 comments
Labels
area/networking Area: Networking area/vm Area: Virtual Machines enhancement Type: Enhancement stale Status: Stale

Comments

@LargoUsagi
Copy link

Community Guidelines

  • I have read and agree to the HashiCorp Community Guidelines .
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Currently there is no way to set the MTU of a network interface in the clone section. If any networks on a VM require a custom MTU you cannot use the customize section of the clone section for vsphere_virtual_machine

Use Case(s)

Setting MTU to specific values without having to remove the customize block and rely on the userdata/meta data. This would allow the generated netplan to sync to the mac addresses generated during vm provisioning instead of relying on the network interfaces having consistent naming IE ens192/eth0.

This would also add to reliability if the interfaces are ever re arranged or modified as we should not expect the MAC addresses to change.

Potential Terraform Provider Configuration

clone {
template_uuid = data.vsphere_virtual_machine.template.id
customize {
linux_options {
host_name = "hello-world"
domain = "example.com"
}
network_interface {
ipv4_address = "172.16.11.10"
ipv4_netmask = 24
mtu = 9000
}
ipv4_gateway = "172.16.11.1"
}
}

References

No response

@LargoUsagi LargoUsagi added the enhancement Type: Enhancement label Apr 25, 2023
@github-actions
Copy link

Hello, LargoUsagi! 🖐

Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.

If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.

@tenthirtyam tenthirtyam added this to the Backlog milestone May 4, 2023
@tenthirtyam tenthirtyam added area/vm Area: Virtual Machines area/networking Area: Networking labels Aug 7, 2023
@hmahdiany
Copy link

We have also a similar need to set MTU via this provider.

Copy link

github-actions bot commented Apr 8, 2024

Marking this issue as stale due to inactivity in the past 180 days. This helps us focus on the active issues. If this issue is reproducible with the latest version of the provider, please comment. If this issue receives no comments in the next 30 days it will automatically be closed.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

@github-actions github-actions bot added the stale Status: Stale label Apr 8, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
@tenthirtyam tenthirtyam removed this from the Backlog milestone May 16, 2024
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/networking Area: Networking area/vm Area: Virtual Machines enhancement Type: Enhancement stale Status: Stale
Projects
None yet
Development

No branches or pull requests

3 participants