From: Matt <mat...@us...> - 2007-11-08 14:42:57
|
Update of /cvsroot/openqrm/plugins/xen/bin In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24422/plugins/xen/bin Modified Files: qrm-xen-manage Log Message: applied patches from Peter to make the xen-domains starting automatically after a reboot of the xen-host Index: qrm-xen-manage =================================================================== RCS file: /cvsroot/openqrm/plugins/xen/bin/qrm-xen-manage,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** qrm-xen-manage 22 May 2007 12:50:12 -0000 1.2 --- qrm-xen-manage 8 Nov 2007 14:42:59 -0000 1.3 *************** *** 417,420 **** --- 417,423 ---- fi + # make parittions start automatically + ln -sf $PARTITION_CONFIG_FILE /etc/xen/auto/ + return 0 fi *************** *** 475,478 **** --- 478,484 ---- xen_send_off_event $CR_ID + # remove from /etc/xen/auto + /bin/rm -f /etc/xen/auto/${PARTITION_MAC}.xen + # release the lock xen_lock release *************** *** 514,518 **** fi ! /bin/rm -f $PARTITION_CONFIG_FILE /bin/rm -f $XEN_PARTITION_DIR/$PARTITION_MAC/* --- 520,525 ---- fi ! # remove from /etc/xen/auto ! /bin/rm -f /etc/xen/auto/${PARTITION_MAC}.xen /bin/rm -f $PARTITION_CONFIG_FILE /bin/rm -f $XEN_PARTITION_DIR/$PARTITION_MAC/* |