Changeset 1187 for trunk/packages/invirt-console-host
- Timestamp:
- Oct 24, 2008, 1:44:16 AM (16 years ago)
- Location:
- trunk/packages/invirt-console-host
- Files:
-
- 5 edited
- 10 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-console-host/debian/changelog
r1120 r1187 1 invirt-console-host (0.0.1) unstable; urgency=low 2 3 * sipb-xen -> invirt 4 * -server -> -host while we're at it 5 6 -- Greg Price <price@mit.edu> Fri, 24 Oct 2008 01:23:56 -0400 7 1 8 sipb-xen-console-server (2.8) unstable; urgency=low 2 9 -
trunk/packages/invirt-console-host/debian/control
r709 r1187 1 Source: sipb-xen-console-server1 Source: invirt-console-host 2 2 Section: servers 3 3 Priority: important 4 Maintainer: sipb-xen@mit.edu4 Maintainer: invirt@mit.edu 5 5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), config-package-dev (>= 4.5~) 6 6 Standards-Version: 3.7.2 7 7 8 Package: sipb-xen-console-server8 Package: invirt-console-host 9 9 Architecture: all 10 10 Provides: ${diverted-files} -
trunk/packages/invirt-console-host/debian/control.in
r672 r1187 1 Source: sipb-xen-console-server1 Source: invirt-console-host 2 2 Section: servers 3 3 Priority: important 4 Maintainer: sipb-xen@mit.edu4 Maintainer: invirt@mit.edu 5 5 Build-Depends: @cdbs@ 6 6 Standards-Version: 3.7.2 7 7 8 Package: sipb-xen-console-server8 Package: invirt-console-host 9 9 Architecture: all 10 10 Provides: ${diverted-files} -
trunk/packages/invirt-console-host/debian/copyright
r386 r1187 1 1 This package was created for internal use of the SIPB Xen Project of 2 the MIT Student Information Processing Board. Ask sipb-xen@mit.edu if2 the MIT Student Information Processing Board. Ask invirt@mit.edu if 3 3 you have questions about redistribution. -
trunk/packages/invirt-console-host/debian/invirt-console-host.cron.d
r1176 r1187 1 1 # 2 # cron-jobs for sipb-xen-console-server2 # cron-jobs for invirt-console-host 3 3 # Refresh the list of active VM consoles 4 4 # … … 6 6 MAILTO=root 7 7 8 */5 * * * * root python /usr/sbin/ sipb-xen-update-conserver8 */5 * * * * root python /usr/sbin/invirt-update-conserver -
trunk/packages/invirt-console-host/debian/invirt-console-host.init
r1176 r1187 1 1 #! /bin/sh 2 2 ### BEGIN INIT INFO 3 # Provides: sipb-xen-console-server3 # Provides: invirt-console-host 4 4 # Required-Start: $local_fs $remote_fs 5 5 # Required-Stop: $local_fs $remote_fs … … 17 17 PATH=/sbin:/usr/sbin:/bin:/usr/bin 18 18 DESC="Invirt host console config" 19 NAME= sipb-xen-console-server19 NAME=invirt-console-host 20 20 SCRIPTNAME=/etc/init.d/$NAME 21 21 -
trunk/packages/invirt-console-host/debian/invirt-console-host.postinst
r1176 r1187 1 1 #!/bin/sh 2 # postinst script for sipb-xen-console-server2 # postinst script for invirt-console-host 3 3 # 4 4 # see: dh_installdeb(1) … … 22 22 configure) 23 23 cat >>/etc/sudoers <<EOF 24 ### BEGIN sipb-xen-console-server24 ### BEGIN invirt-console-host 25 25 conservr ALL=(ALL) NOPASSWD: /usr/sbin/xm console d_* 26 ### END sipb-xen-console-server26 ### END invirt-console-host 27 27 EOF 28 28 ;; -
trunk/packages/invirt-console-host/debian/invirt-console-host.prerm
r1176 r1187 1 1 #!/bin/sh 2 # prerm script for sipb-xen-console-server2 # prerm script for invirt-console-host 3 3 # 4 4 # see: dh_installdeb(1) … … 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne 's%^### (BEGIN|END) sipb-xen-console-server\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-console-host\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 23 23 ;; 24 24 -
trunk/packages/invirt-console-host/debian/rules
r1116 r1187 2 2 3 3 DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 4 DEB_DIVERT_EXTENSION = . sipb-xen5 DEB_DIVERT_FILES_ sipb-xen-console-server+= \6 /etc/conserver/conserver.cf. sipb-xen\7 /etc/conserver/server.conf. sipb-xen4 DEB_DIVERT_EXTENSION = .invirt 5 DEB_DIVERT_FILES_invirt-console-host += \ 6 /etc/conserver/conserver.cf.invirt \ 7 /etc/conserver/server.conf.invirt 8 8 9 9 include /usr/share/cdbs/1/rules/debhelper.mk -
trunk/packages/invirt-console-host/files/etc/conserver/conserver.cf.invirt
r1176 r1187 23 23 24 24 #include /etc/conserver/invirt-genconfig.cf 25 #include /etc/conserver/ sipb-xen-consoles.cf25 #include /etc/conserver/invirt-consoles.cf -
trunk/packages/invirt-console-host/files/usr/sbin/invirt-update-conserver
r1176 r1187 26 26 conftext = '\n'.join('console %s { master %s; }' % (vm, hostname) 27 27 for vm in live_vms()) 28 f = open('/etc/conserver/ sipb-xen-consoles.cf', 'w')28 f = open('/etc/conserver/invirt-consoles.cf', 'w') 29 29 f.write(conftext) 30 30 f.close()
Note: See TracChangeset
for help on using the changeset viewer.