mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-10-05 02:01:04 +00:00
fix append to centos eth0
This commit is contained in:
parent
44fe676026
commit
06bdf455b9
@ -67,7 +67,7 @@ hostname $BOX_SHORT_HOSTNAME
|
|||||||
echo Hostname set $BOX_SHORT_HOSTNAME
|
echo Hostname set $BOX_SHORT_HOSTNAME
|
||||||
if [ -z "$(grep -i yes /etc/sysconfig/network-scripts/ifcfg-eth0)" ]; then
|
if [ -z "$(grep -i yes /etc/sysconfig/network-scripts/ifcfg-eth0)" ]; then
|
||||||
echo Setting up eth0 for $BOX_HOSTNAME
|
echo Setting up eth0 for $BOX_HOSTNAME
|
||||||
cat /tmp/tf_eth0_payload >> /etc/sysconfig/network-scripts/ifcfg-eth0
|
cat /tmp/tf_eth0_payload > /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
else
|
else
|
||||||
echo eth0 already setup for $BOX_HOSTNAME
|
echo eth0 already setup for $BOX_HOSTNAME
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user