Changeset 1327 in MondoRescue


Ignore:
Timestamp:
Apr 18, 2007, 9:54:07 AM (17 years ago)
Author:
Bruno Cornec
Message:

The script to be executed is now sent under $TOOLHOME to avoid execution problem of son-scripts in that directory (like in pkg2test)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/action2qemu

    r1288 r1327  
    5454        sleep 300
    5555    fi
    56     scp -P $sp -p $SCRIPT root@localhost:/tmp
     56    ssh -q -p $sp root@localhost "mkdir -p ${TOOLHOME}"
     57    scp -P $sp -p $SCRIPT root@localhost:${TOOLHOME}
    5758    bn=`basename "$SCRIPT"`
    58     ssh -q -p $sp root@localhost "/tmp/$bn"
     59    ssh -q -p $sp root@localhost "${TOOLHOME}/$bn"
    5960    if [ $vmp -eq 1 ]; then
    6061        ssh -q -p $sp root@localhost "halt -p"
Note: See TracChangeset for help on using the changeset viewer.