summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/neutron_dhcp_agent_patch
blob: a9e14bee793ea32fc3118fea463e4be152a2423e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e
##############################################################################
# Copyright (c) 2019 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

# regression due to https://bugs.launchpad.net/neutron/+bug/1760047
salt -I 'neutron:gateway' pkg.install python-neutron
salt -I 'neutron:gateway' file.patch /usr/lib/python2.7/dist-packages/neutron/agent/dhcp/agent.py /var/tmp/dhcp_agent.patch || true