не определяет ip адрес сервера из-за отсутствия опции --numeric-ports diff --git a/propagator/data/sbin/init-bottom b/propagator/data/sbin/init-bottom index b9559f7..0d98fdd 100755 --- a/propagator/data/sbin/init-bottom +++ b/propagator/data/sbin/init-bottom @@ -4,7 +4,7 @@ stage2=/root nfs_slice(){ if grep -q 'automatic=method:nfs' /proc/cmdline ; then # mount overlays from nfs - ip=$(netstat -t --numeric-hosts | grep :2049 | head -n1 | \ + ip=$(netstat -t --numeric-hosts --numeric-ports | grep :2049 | head -n1 | \ sed 's/ */ /g' | cut -d' ' -f5 | cut -d: -f1) mkdir -p $stage2/tmp/images if nfsmount -o nolock $ip:/srv/public/netinst/overlays-live $stage2/tmp/images &> /dev/null ; then
make-initrd-propagator-0.10-alt1 -> sisyphus: * Wed Sep 05 2012 Anton V. Boyarshinov <boyarsh@altlinux> 0.10-alt1 - added --numeric-ports option to netstat (dans@), (closes: #27698)