mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 11:50:32 +00:00
grep in busybox do not support long optipn string, use short instead
This commit is contained in:
@ -577,6 +577,6 @@ ResolveLinks
|
||||
# foo
|
||||
|
||||
# If the resolv.conf is not setup in rootimg, copy the dhcp generated one into rootimg
|
||||
if grep --quiet --no-messages "Dummy resolv.conf" "$MNTDIR/etc/resolv.conf"; then
|
||||
if grep -q -s "Dummy resolv.conf" "$MNTDIR/etc/resolv.conf"; then
|
||||
/bin/cat /etc/resolv.conf > $MNTDIR/etc/resolv.conf
|
||||
fi
|
||||
|
Reference in New Issue
Block a user