VM template: ability to set network to none


Recommended Posts

Much like we can in docker, it would be super helpful if we could set network to none in VMs.


My use case is I will be passing though physical NICs, and although I can edit the XML to remove the interface, I'd rather not have the risk of virtual NICs recreated anytime modify the template (and subsequently forget to remove from XML again).

There is also a different use case where a user may want their VM to have no LAN or WAN access at all.


Docker template:
image.png.9340cae0981c5fedef4854c053b97b64.png

 

VM template:

image.png.0bdc5b9c6fe0873194613e4a9c8fbc03.png

Link to comment
  • 10 months later...
On 6/6/2022 at 9:40 AM, tjb_altf4 said:

Much like we can in docker, it would be super helpful if we could set network to none in VMs.


My use case is I will be passing though physical NICs, and although I can edit the XML to remove the interface, I'd rather not have the risk of virtual NICs recreated anytime modify the template (and subsequently forget to remove from XML again).

There is also a different use case where a user may want their VM to have no LAN or WAN access at all.


Docker template:
image.png.9340cae0981c5fedef4854c053b97b64.png

 

VM template:

image.png.0bdc5b9c6fe0873194613e4a9c8fbc03.png

If you remove the mac it will not add a nic are you looking for this option in addition to that?

  • Thanks 1
Link to comment
5 hours ago, SimonF said:

If you remove the mac it will not add a nic are you looking for this option in addition to that?

I didn't know that, thanks!
I feel a discrete option would be more user friendly and ultimately more informative, but removing the mac address will do the job for me :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.