diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index bdfa52292..6e6b43975 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -69,8 +69,9 @@ logger -t xcat "NFSSERVER=$NFSSERVER" echo OTHERPKGDIR=$OTHERPKGDIR logger -t xcat "OTHERPKGDIR=$OTHERPKGDIR" -dhcpcd -n $PRIMARYNIC - +if [ -x "/sbin/dhcpcd" ]; then + dhcpcd -n $PRIMARYNIC +fi #check if the node has yum or zypper installed, it will try yum first, then zypper and last rpm hasyum=0