| Summary: | /sbin/init-bottom:nfs_slice() не работает | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Denis Pynkin <dans> |
| Component: | make-initrd-propagator | Assignee: | Anton V. Boyarshinov <boyarsh> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P3 | CC: | boyarsh |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
не определяет 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