summaryrefslogtreecommitdiff
path: root/nova/virt/netutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/virt/netutils.py')
-rw-r--r--nova/virt/netutils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nova/virt/netutils.py b/nova/virt/netutils.py
index 671703ed14..05b642b8fa 100644
--- a/nova/virt/netutils.py
+++ b/nova/virt/netutils.py
@@ -23,12 +23,13 @@
import netaddr
+from nova import config
from nova import flags
FLAGS = flags.FLAGS
-
-flags.DECLARE('injected_network_template', 'nova.virt.disk.api')
+CONF = config.CONF
+CONF.import_opt('injected_network_template', 'nova.virt.disk.api')
Template = None