eab90f9402
This includes a Dockerfile which builds the heat-docker-agent container with all the necessary bits to make it work. This also includes fixes for VLAN networking to use. Change-Id: I2f4edf0a91bddede810ddf1765296be23c4bbebd Co-Authored-by: Jeff Peeler <jpeeler@redhat.com>
13 lines
397 B
Bash
Executable File
13 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
|
|
# Be sure to copy existing interface configs from the host so that we can properly
|
|
# ifdown them before bringing up new config.
|
|
cp /host/etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/
|
|
|
|
NET_CONFIG=$(os-apply-config --key os_net_config --type raw --key-default '')
|
|
|
|
if [ -n "$NET_CONFIG" ]; then
|
|
os-net-config -c /etc/os-net-config/config.json -v
|
|
fi
|