Remove adjust-interface-mtus script

- dhcp-match is already managed in Neutron since https://review.openstack.org/#/c/172040/
- MTU option shouldn't be managed by TripleO Quickstart.

Change-Id: I68701b45801c9c25f2a60d1a4afc51955a84c546
This commit is contained in:
Emilien Macchi 2018-02-20 08:20:53 -08:00
parent 6648a0b5b3
commit c1d0eb1c87
3 changed files with 0 additions and 42 deletions

View File

@ -1,15 +0,0 @@
---
- name: Copy over adjust interface mtus script template
template:
src: adjust-interface-mtus.sh.j2
dest: "{{ working_dir }}/adjust-interface-mtus.sh"
mode: 0755
- name: Adjust MTU values and modify dnsmasq-ironic.conf
become: yes
shell: >
"{{ working_dir }}"/adjust-interface-mtus.sh
when: step_adjust_mtu|bool

View File

@ -1,6 +1,4 @@
---
- include: adjust-mtu-dnsmasq-ironic.yml
- include: allow-traffic-for-controller.yml
- include: install-upstream-ipxe.yml

View File

@ -1,25 +0,0 @@
#!/bin/bash
set -eux
### --start_docs
## Adjust interface MTU valuesfor undercloud and overcloud
## =======================================================
## * Adjust interface mtus
## ::
{% for interface in (mtu_interface) %}
ip link set {{ interface }} mtu {{ mtu }}
echo "MTU={{ mtu }}" >> /etc/sysconfig/network-scripts/ifcfg-{{ interface }}
{% endfor %}
## * Modify dnsmasq-ironic.conf
## ::
echo -e "\ndhcp-option-force=26,{{ mtu }}" >> /etc/dnsmasq-ironic.conf
systemctl restart 'neutron-*'
systemctl restart openstack-ironic-conductor
### --stop_docs