Added hvirt-devconfig pkg
authorGreg Brockman <gdb@mit.edu>
Thu, 24 Dec 2009 22:55:20 +0000 (17:55 -0500)
committerGreg Brockman <gdb@mit.edu>
Thu, 24 Dec 2009 22:55:20 +0000 (17:55 -0500)
svn path=/trunk/packages/hvirt-devconfig/; revision=2779

debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/hvirt-devconfig.install [new file with mode: 0644]
debian/hvirt-devconfig.lintian-overrides [new file with mode: 0644]
debian/hvirt-devconfig.triggers [new file with mode: 0644]
debian/rules [new file with mode: 0755]
k5login [new file with mode: 0644]
master.yaml [new file with mode: 0644]
sysvms/s_master [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..68261c2
--- /dev/null
@@ -0,0 +1,30 @@
+hvirt-devconfig (0.5) unstable; urgency=low
+
+  * Added kerberos entry
+
+ -- Greg Brockman <gdb@mit.edu>  Thu, 24 Dec 2009 17:55:49 -0500
+
+hvirt-devconfig (0.4) unstable; urgency=low
+
+  * Added console entry
+
+ -- Greg Brockman <gdb@hcs.harvard.edu>  Wed, 23 Dec 2009 20:52:47 -0500
+
+hvirt-devconfig (0.3) unstable; urgency=low
+
+  * Added remote entry
+
+ -- Greg Brockman <gdb@hcs.harvard.edu>  Wed, 23 Dec 2009 20:49:52 -0500
+
+hvirt-devconfig (0.2) unstable; urgency=low
+
+  * Added hosts entry
+
+ -- Greg Brockman <gdb@hcs.harvard.edu>  Thu, 24 Dec 2009 01:41:02 +0000
+
+hvirt-devconfig (0.1) unstable; urgency=low
+
+  * Initial build; stole some config from xvm-devconfig.
+
+ -- Greg Brockman <gdb@hcs.harvard.edu>  Mon, 21 Dec 2009 20:14:06 +0000
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..1311380
--- /dev/null
@@ -0,0 +1,14 @@
+Source: hvirt-devconfig
+Section: servers
+Priority: important
+Maintainer: HCS Hvirt Project <hvirt@hcs.harvard.edu>
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: hvirt-devconfig
+Architecture: all
+Provides: invirt-config
+Conflicts: invirt-config
+Depends: ${shlibs:Depends}, ${misc:Depends}, invirt-base (>= 0.0.19)
+Description: Hvirt dev-cluster config
+  This is the master configuration package for the Hvirt development cluster.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..381dc35
--- /dev/null
@@ -0,0 +1,17 @@
+This software was written for the XVM project <xvm@mit.edu>
+of the MIT Student Information Processing Board.
+
+Copyright :
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in the file /usr/share/common-licenses/GPL.
diff --git a/debian/hvirt-devconfig.install b/debian/hvirt-devconfig.install
new file mode 100644 (file)
index 0000000..119068a
--- /dev/null
@@ -0,0 +1 @@
+master.yaml etc/invirt
diff --git a/debian/hvirt-devconfig.lintian-overrides b/debian/hvirt-devconfig.lintian-overrides
new file mode 100644 (file)
index 0000000..159c900
--- /dev/null
@@ -0,0 +1 @@
+xvm-devconfig binary: file-in-unusual-dir root/.k5login
diff --git a/debian/hvirt-devconfig.triggers b/debian/hvirt-devconfig.triggers
new file mode 100644 (file)
index 0000000..21273fd
--- /dev/null
@@ -0,0 +1 @@
+activate invirt-reload
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..74f3404
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+binary-install/xvm-devconfig::
+       # Versions of CDBS newer than ours do this for us
+       dh_lintian -pxvm-devconfig
+       install -m 0644 -D k5login $(DEB_DESTDIR)/root/.k5login
diff --git a/k5login b/k5login
new file mode 100644 (file)
index 0000000..6193c42
--- /dev/null
+++ b/k5login
@@ -0,0 +1,2 @@
+gdb@HCS.HARVARD.EDU
+gdb/root@HCS.HARVARD.EDU
diff --git a/master.yaml b/master.yaml
new file mode 100644 (file)
index 0000000..751a700
--- /dev/null
@@ -0,0 +1,25 @@
+db:
+ uri: postgres://invirt@hvirt-dev.hcs.harvard.edu/invirt
+ host: hvirt-dev.hcs.harvard.edu
+ ip: 140.247.89.172
+ port: 5432
+ user: invirt
+ dbname: invirt
+
+svn:
+ uri: https://xvm.mit.edu:1111
+
+hosts:
+- hostname: hersilia.hcs.harvard.edu
+  ip: 140.247.89.251
+
+remote:
+  hostname: hvirt-remote-dev.hcs.harvard.edu
+  ip: 140.247.89.173
+
+console:
+  hostname: xvm-remote-dev.mit.edu
+  ip: 140.247.89.173
+
+kerberos:
+  realm: HCS.HARVARD.EDU
\ No newline at end of file
diff --git a/sysvms/s_master b/sysvms/s_master
new file mode 100644 (file)
index 0000000..a98a9ab
--- /dev/null
@@ -0,0 +1,19 @@
+import os
+
+release     = os.uname()[2]
+kernel      = '/boot/vmlinuz-%s' % release
+ramdisk     = '/boot/initrd.img-%s' % release
+memory      = '512'
+
+disk        = ['phy:xenvg/s_master_hda,hda,w']
+
+name        = 's_master'
+
+vif         = [ 'ip=140.247.89.172,mac=00:16:3e:04:d1:56' ]
+
+on_poweroff = 'destroy'
+on_reboot   = 'restart'
+on_crash    = 'restart'
+
+root = "/dev/hda1 ro"
+extra = '2 console=xvc0'