Changeset 2256 for trunk/packages/invirt-remote/server/usr/sbin
- Timestamp:
- Mar 16, 2009, 9:27:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy
r2255 r2256 20 20 invirt-remote-availability "$@" ;; 21 21 web/lvcreate | web/lvremove | web/lvrename | web/lvresize ) 22 if [ -f "/etc/invirt/nolvm" ]; then 23 echo "LVM operations are temporarily disabled for maintenance, sorry." 24 exit 2 25 fi 22 26 remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;; 23 27 control/help ) 24 28 invirt-remctl-help ;; 25 29 control/create|control/install ) 30 if [ -f "/etc/invirt/nocreate" ]; then 31 echo "Booting VMs is temporarily disabled for maintenance, sorry." 32 exit 2 33 fi 26 34 invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;; 27 35 control/listhost|control/list-host )
Note: See TracChangeset
for help on using the changeset viewer.