From 1b2e9a6d066e118850cc01309f1c36b54374b9b4 Mon Sep 17 00:00:00 2001 From: John Anderson Date: Wed, 3 Oct 2018 17:16:01 -0400 Subject: [PATCH] fixes #2484 - Local config context not available on the Virtual Machine Edit Form --- CHANGELOG.md | 3 ++- netbox/virtualization/forms.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36304742d..d15dd9bbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ v2.4.6 (FUTURE) ## Bug Fixes -[#2483](https://github.com/digitalocean/netbox/issues/2483) - Set max item count of API-populated form fields to MAX_PAGE_SIZE +* [#2483](https://github.com/digitalocean/netbox/issues/2483) - Set max item count of API-populated form fields to MAX_PAGE_SIZE +* [#2484](https://github.com/digitalocean/netbox/issues/2484) - Local config context not available on the Virtual Machine Edit Form --- diff --git a/netbox/virtualization/forms.py b/netbox/virtualization/forms.py index e94c2cdaa..8f973955c 100644 --- a/netbox/virtualization/forms.py +++ b/netbox/virtualization/forms.py @@ -253,7 +253,7 @@ class VirtualMachineForm(BootstrapMixin, TenancyForm, CustomFieldForm): model = VirtualMachine fields = [ 'name', 'status', 'cluster_group', 'cluster', 'role', 'tenant', 'platform', 'primary_ip4', 'primary_ip6', - 'vcpus', 'memory', 'disk', 'comments', 'tags', + 'vcpus', 'memory', 'disk', 'comments', 'tags', 'local_context_data', ] help_texts = { 'local_context_data': "Local config context data overwrites all sources contexts in the final rendered config context",