3 # Copyright (c) 2017 All rights reserved
4 # This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 cd "$( dirname "${BASH_SOURCE[0]}" )"
11 sudo ifdown enp0s4 2&>1 >> /dev/null /dev/null || true
12 sudo ifdown enp0s6 2&>1 >> /dev/null /dev/null || true
13 sudo cp ../templates/ifcfg-* /etc/network/interfaces.d/