diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 9c15ccd12..1eae13ba6 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -190,12 +190,10 @@ if grep 'rw /rw tmpfs ' /proc/mounts >& /dev/null; then fi rm -rf /xcatpost/*; -wget -l inf -nH -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$SIP/postscripts -P /xcatpost 2> /tmp/wget.log -cd /xcatpost; -mv postscripts/* ./; -rm -rf postscripts; +wget -l inf -nH -N -r --waitretry=10 --random-wait --retry-connrefused -t 0 -T 60 ftp://$SIP/postscripts -P /xcatpost --cut-dirs=1 2> /tmp/wget.log chmod +x /xcatpost/*; +cd /xcatpost; PATH=/xcatpost:$PATH export PATH