diff --git a/elements/ironic-agent/element-deps b/elements/ironic-agent/element-deps index 715c11e2..3f5c9a85 100644 --- a/elements/ironic-agent/element-deps +++ b/elements/ironic-agent/element-deps @@ -1 +1,2 @@ +dhcp-all-interfaces source-repositories diff --git a/elements/ironic-agent/post-install.d/80-ironic-agent b/elements/ironic-agent/post-install.d/80-ironic-agent index 6a3b8b00..eb000981 100755 --- a/elements/ironic-agent/post-install.d/80-ironic-agent +++ b/elements/ironic-agent/post-install.d/80-ironic-agent @@ -10,11 +10,3 @@ install-packages -e python-dev git cloud-init rm -rf /tmp/ironic-python-agent sudo systemctl disable iptables.service - -#configs for additional interfaces -SYSCONFIG_PATH=/etc/sysconfig/network-scripts -for IFACE_NUM in 1 2 -do - sudo cp $SYSCONFIG_PATH/ifcfg-eth0 $SYSCONFIG_PATH/ifcfg-eth$IFACE_NUM - sudo sed -i "s/eth0/eth$IFACE_NUM/g" $SYSCONFIG_PATH/ifcfg-eth$IFACE_NUM -done