Changeset 599 in MondoRescue for branches/stable/tools/build2qemu
- Timestamp:
- May 31, 2006, 12:19:51 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/build2qemu
r596 r599 81 81 fi 82 82 scp -P $sp $TMP/mkmondo.tar.gz bruno@localhost: 83 ssh -p $sp bruno@localhost "cd / ; tar xfz ~bruno/mkmondo.tar.gz ; $TMP/mkmondo " | tee $TMP/mkvm.log 83 rdate=`date "+%m%d%H%M"` 84 ssh -p $sp root@localhost "date $rdate" 85 ssh -p $sp bruno@localhost "cd / ; rm -rf ~bruno/mondo ~bruno/RPMS/BUILD/* ~bruno/RPMS/tmp/* /tmp/* ; tar xfz ~bruno/mkmondo.tar.gz ; $TMP/mkmondo " | tee $TMP/mkvm.log 84 86 #ssh -p $sp bruno@localhost "cd / ; tar xfz ~bruno/mkmondo.tar.gz ; $TMP/mkmondo ; rm -f $TMP" | tee $TMP/mkvm.log 85 87 if [ $vmp -eq 1 ]; then 86 88 ssh -p $sp root@localhost "halt -p" 87 89 sleep 300 88 proces=`ps auxww | grep qemu | grep -v grep | grep -q/users/qemu/$m.qemu | awk '{print $2}'`90 proces=`ps auxww | grep qemu | grep -v grep | grep /users/qemu/$m.qemu | awk '{print $2}'` 89 91 if [ "$proces" != "" ]; then 90 92 kill $proces
Note:
See TracChangeset
for help on using the changeset viewer.