From 7868fdf9e96c2b556fc369a796f03cfcd99b30e7 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Tue, 24 Mar 2015 14:39:26 +0000 Subject: [PATCH] Only render network_device_mtu if the option is set --- templates/icehouse/neutron.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/icehouse/neutron.conf b/templates/icehouse/neutron.conf index 78814822..aa7ca65a 100644 --- a/templates/icehouse/neutron.conf +++ b/templates/icehouse/neutron.conf @@ -11,6 +11,8 @@ core_plugin = {{ core_plugin }} control_exchange = neutron notification_driver = neutron.openstack.common.notifier.list_notifier list_notifier_drivers = neutron.openstack.common.notifier.rabbit_notifier +{% if network_device_mtu -%} network_device_mtu = {{ network_device_mtu }} +{% endif -%} [agent] -root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf \ No newline at end of file +root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf