[PR #15772] [MERGED] resolve #15712 - add imageattachments to virtualmachines #14674

Closed
opened 2025-12-29 23:25:54 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15772
Author: @Hedius
Created: 4/19/2024
Status: Merged
Merged: 4/19/2024
Merged by: @jeremystretch

Base: featureHead: 15712-add_imageattachments_to_virtualmachines


📝 Commits (1)

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 netbox/templates/virtualization/virtualmachine.html (+1 -0)
📝 netbox/virtualization/models/virtualmachines.py (+2 -2)

📄 Description

Fixes: #15712

In order to resolve #15712 this commit adds the Image Attachment template to the virtualmachine template. Furthermore, the VirtualMachine model inherits the ImageAttachmentsMixin to add support for image attachmentes to the model.

Screenshot of the added modal:
image

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15772 **Author:** [@Hedius](https://github.com/Hedius) **Created:** 4/19/2024 **Status:** ✅ Merged **Merged:** 4/19/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `15712-add_imageattachments_to_virtualmachines` --- ### 📝 Commits (1) - [`9b65f97`](https://github.com/netbox-community/netbox/commit/9b65f97d4267febdaf01a1965b044eb2c6345b84) #15712: add imageattachments to vms ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/virtualization/virtualmachine.html` (+1 -0) 📝 `netbox/virtualization/models/virtualmachines.py` (+2 -2) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #15712 <!-- Please include a summary of the proposed changes below. --> In order to resolve #15712 this commit adds the Image Attachment template to the virtualmachine template. Furthermore, the VirtualMachine model inherits the ImageAttachmentsMixin to add support for image attachmentes to the model. Screenshot of the added modal: ![image](https://github.com/netbox-community/netbox/assets/14820882/7c24bb72-929b-4faa-af7f-ff24b1b5b9a3) ![image](https://github.com/netbox-community/netbox/assets/14820882/0a3e2cd7-4286-4884-95c3-39706e914901) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:54 +01:00
adam closed this issue 2025-12-29 23:25:54 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14674