Darryl L. Pierce
2009-Jan-22 21:26 UTC
[Ovirt-devel] [PATCH node-image] Fix for BZ#481106.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- common-post.ks | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common-post.ks b/common-post.ks index 151cc95..629eb72 100644 --- a/common-post.ks +++ b/common-post.ks @@ -78,3 +78,8 @@ cat > /etc/sysconfig/iptables << \EOF -A FORWARD -m physdev ! --physdev-is-bridged -j REJECT --reject-with icmp-host-prohibited COMMIT EOF + +# BZ#481106 - remove errors from /sbin/dhclient-script +DHSCRIPT=/sbin/dhclient-script +cat $DHSCRIPT | sed 's/mv/cp -a/g' > $DHSCRIPT.tmp +mv -f $DHSCRIPT.tmp $DHSCRIPT -- 1.6.0.6