Changeset 1239 for trunk/packages
- Timestamp:
- Oct 24, 2008, 10:09:06 PM (16 years ago)
- Location:
- trunk/packages
- Files:
-
- 12 added
- 6 deleted
- 10 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote-host/debian/changelog
r1237 r1239 1 invirt-remote-host (0.0.1) unstable; urgency=low 2 3 * sipb-xen-remctl-auto -> invirt-remote-host 4 5 -- Evan Broder <broder@mit.edu> Fri, 24 Oct 2008 21:54:35 -0400 6 1 7 sipb-xen-remctl-auto (1.5.2) unstable; urgency=low 2 8 -
trunk/packages/invirt-remote-host/debian/invirt-remote-host.init
r1237 r1239 1 1 #!/bin/bash 2 2 ### BEGIN INIT INFO 3 # Provides: sipb-xen-remctl-auto3 # Provides: invirt-remote-host 4 4 # Required-Start: $local_fs $remote_fs 5 5 # Required-Stop: $local_fs $remote_fs 6 6 # Default-Start: 2 3 4 5 7 7 # Default-Stop: 0 1 6 8 # Short-Description: conserver config from invirt config for invirt host8 # Short-Description: remctl configuration for an Invirt host 9 9 # Description: 10 10 ### END INIT INFO 11 11 12 PACKAGE= sipb-xen-remctl-auto12 PACKAGE=invirt-remote-host 13 13 14 14 . /lib/lsb/init-functions -
trunk/packages/invirt-remote-host/files/usr/sbin/invirt-listvms
r1237 r1239 3 3 import sys 4 4 import time 5 sys.path.insert(0, '/usr/lib/xen-3.1-1/lib/python')6 5 from xen.lowlevel import xs 7 6 -
trunk/packages/invirt-remote-host/files/usr/sbin/invirt-remote
r1237 r1239 1 1 #!/bin/sh 2 # sipb-xen-remote TYPE SERVICE [ARGS...]2 # invirt-remote TYPE SERVICE [ARGS...] 3 3 # 4 4 # We carry out the remctl command proxied to us by the remote-control server. … … 11 11 control) 12 12 # $SERVICE is hostname 13 COMMAND=/usr/sbin/ sipb-xen-vmcontrol13 COMMAND=/usr/sbin/invirt-vmcontrol 14 14 ;; 15 15 web) 16 16 case "$SERVICE" in 17 17 lvcreate|lvremove|lvrename|lvresize) 18 COMMAND=/usr/sbin/ sipb-xen-lvm18 COMMAND=/usr/sbin/invirt-lvm 19 19 ;; 20 20 vmboot) 21 COMMAND=/usr/sbin/ sipb-xen-vmcontrol21 COMMAND=/usr/sbin/invirt-vmcontrol 22 22 ;; 23 23 listvms) 24 COMMAND=/usr/sbin/ sipb-xen-listvms24 COMMAND=/usr/sbin/invirt-listvms 25 25 ;; 26 26 info) … … 39 39 esac 40 40 41 #echo $COMMAND "$SERVICE" "$@"42 41 $COMMAND "$SERVICE" "$@" -
trunk/packages/invirt-remote-host/files/usr/sbin/invirt-vmcontrol
r1237 r1239 1 1 #!/bin/bash 2 # sipb-xen-vmcontrol MACHINE ACTION2 # invirt-vmcontrol MACHINE ACTION 3 3 # 4 4 # remctl should have already verified that the user is authorized to … … 20 20 destroy|shutdown) 21 21 xm "$ACTION" "$MACHINE" 22 /usr/sbin/ sipb-xen-update-conserver </dev/null >/dev/null 2>&1 &22 /usr/sbin/invirt-update-conserver </dev/null >/dev/null 2>&1 & 23 23 ;; 24 24 install|create|reboot) … … 36 36 xm create sipb-database machine_name="$ORIGMACHINE" 37 37 fi 38 (sleep 4; /usr/sbin/ sipb-xen-update-conserver) </dev/null >/dev/null 2>&1 &38 (sleep 4; /usr/sbin/invirt-update-conserver) </dev/null >/dev/null 2>&1 & 39 39 ;; 40 40 list-long)
Note: See TracChangeset
for help on using the changeset viewer.