VirtualMachine local configuration context can't be modified using the web UI. #2041

Closed
opened 2025-12-29 17:21:42 +01:00 by adam · 0 comments
Owner

Originally created by @ebusto on GitHub (Oct 3, 2018).

Environment

  • Python version: 3.7.0
  • NetBox version: 2.4.5

Steps to Reproduce

Using the web interface, edit a virtual machine and attempt to set or modify the local configuration context data.

Expected Behavior

The configuration context data to be persisted to the database.

Observed Behavior

The configuration context data was unmodified.

It looks like local_context_data simply needs to be added to the field list in the VirtualMachineForm.

Originally created by @ebusto on GitHub (Oct 3, 2018). ### Environment * Python version: 3.7.0 * NetBox version: 2.4.5 ### Steps to Reproduce Using the web interface, edit a virtual machine and attempt to set or modify the local configuration context data. ### Expected Behavior The configuration context data to be persisted to the database. ### Observed Behavior The configuration context data was unmodified. It looks like `local_context_data` simply needs to be added to the field list in the [VirtualMachineForm](https://github.com/digitalocean/netbox/blob/develop/netbox/virtualization/forms.py#L256).
adam added the type: bugstatus: accepted labels 2025-12-29 17:21:42 +01:00
adam closed this issue 2025-12-29 17:21:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2041