Changeset 132 for trunk/packages


Ignore:
Timestamp:
Oct 8, 2007, 1:12:50 AM (17 years ago)
Author:
tabbott
Message:

remctl support for renaming machines

Location:
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/conf.d/sipb-xen-web

    r130 r132  
    11web lvcreate /usr/sbin/sipb-xen-lvcreate /etc/remctl/acl/web
    22web lvremove /usr/sbin/sipb-xen-lvremove /etc/remctl/acl/web
     3web lvrename /usr/sbin/sipb-xen-lvrename /etc/remctl/acl/web
    34web vmboot /usr/sbin/sipb-xen-boot /etc/remctl/acl/web
    45web register /usr/sbin/remctl-update.sh /etc/remctl/acl/web
     6web moveregister /usr/sbin/remctl-update.sh /etc/remctl/acl/web
    57web unregister /usr/sbin/remctl-update.sh /etc/remctl/acl/web
    68web remctl-moira-update /usr/sbin/remctl-update.sh /etc/remctl/acl/web
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/remctl-update.sh

    r130 r132  
    8181        "$0" web
    8282        ;;
     83    moveregister)
     84        oldmachine="$2"
     85        newmachine="$3"
     86        mv "$ACLDIR"/"$oldmachine" "$ACLDIR"/"$newmachine"
     87        rm -f "$MACHINEDIR"/"$oldmachine"
     88        "$0" web
     89        ;;
    8390    register)
    8491        machine="$2"
Note: See TracChangeset for help on using the changeset viewer.