Skip to content

Commit

Permalink
fix append to centos eth0
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Gongaware committed Apr 4, 2017
1 parent 44fe676 commit 06bdf45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/preprovision.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ hostname $BOX_SHORT_HOSTNAME
echo Hostname set $BOX_SHORT_HOSTNAME
if [ -z "$(grep -i yes /etc/sysconfig/network-scripts/ifcfg-eth0)" ]; then
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
echo eth0 already setup for $BOX_HOSTNAME
fi
Expand Down

0 comments on commit 06bdf45

Please sign in to comment.