debian/0000755000000000000000000000000011752541275007177 5ustar debian/NEWS0000644000000000000000000000055611752541141007674 0ustar ganeti-instance-debootstrap (0.9-1) unstable; urgency=low The hooks directory has been moved from /etc/ganeti/instance-debootstrap.d to /etc/ganeti/instance-debootstrap.hooks, to have a single directory for customization. This requires moving of any existing hooks to the new directory. -- Iustin Pop Sun, 18 Apr 2010 13:34:54 +0200 debian/changelog0000644000000000000000000000450011752541141011040 0ustar ganeti-instance-debootstrap (0.11-1) unstable; urgency=low * New upstream version, with a number of small fixes and improvements; also Closes: #672114 * Standards version 3.9.3 (no changes needed) * Reorg debian/rules a bit -- Iustin Pop Wed, 09 May 2012 21:15:18 +0200 ganeti-instance-debootstrap (0.9-3) unstable; urgency=low * Fix the mountpoint check in the recently-added hooks -- Iustin Pop Wed, 15 Sep 2010 22:26:24 +0200 ganeti-instance-debootstrap (0.9-2) unstable; urgency=low * Add a hook for fixing Xen PVM console issues (Closes: #596009) * Add a hook to set the root account to no password, to allow the initial login to proceed * Standards version 3.9.1 (replace Conflicts with Breaks) -- Iustin Pop Sun, 12 Sep 2010 19:58:52 +0200 ganeti-instance-debootstrap (0.9-1) unstable; urgency=low * New Upstream version * Include the /etc hooks dir in the package * Include the example hooks in the package * Move the variants.list file to /etc * Add a warning to NEWS for the changed hooks dir -- Iustin Pop Sun, 18 Apr 2010 13:38:10 +0200 ganeti-instance-debootstrap (0.8-1) unstable; urgency=low * New upstream release -- Iustin Pop Wed, 03 Mar 2010 01:49:42 +0100 ganeti-instance-debootstrap (0.7-2) unstable; urgency=low * Convert source format to 3.0 (quilt) * Restrict watch file to digits and dots only * Cherry-pick blktype support from upstream tree * Add dependency on kpartx * Standards version 3.8.3 (no changes needed) * Remove Leonardo (l@lmello.eu.org) from Uploaders -- Iustin Pop Sun, 06 Dec 2009 14:47:51 +0100 ganeti-instance-debootstrap (0.7-1) unstable; urgency=low * New Upstream Version * Standards version 3.8.1 (no changes needed) * Add a conflict with ganeti versions below 1.2.7, as multi-version OSes are supported only from that version on -- Iustin Pop Thu, 07 May 2009 08:26:20 +0200 ganeti-instance-debootstrap (0.6-1) unstable; urgency=low * New Upstream Version -- Iustin Pop Sun, 03 May 2009 17:17:22 +0200 ganeti-instance-debootstrap (0.5-1) unstable; urgency=low * Initial release. (Closes: #466583) -- Iustin Pop Mon, 07 Jul 2008 17:34:09 +0200 debian/compat0000644000000000000000000000000211752541141010365 0ustar 7 debian/control0000644000000000000000000000211711752541141010573 0ustar Source: ganeti-instance-debootstrap Section: admin Priority: extra Maintainer: Debian Ganeti Team Uploaders: Guido Trotter , Iustin Pop Build-Depends: debhelper (>= 7) Standards-Version: 3.9.3 Homepage: http://code.google.com/p/ganeti/ Vcs-Browser: http://git.debian.org/?p=pkg-ganeti/instance-debootstrap.git Vcs-Git: git://git.debian.org/pkg-ganeti/instance-debootstrap.git Package: ganeti-instance-debootstrap Architecture: all Depends: ${misc:Depends}, debootstrap, dump, kpartx, initscripts Breaks: ganeti (<< 1.2.7) Enhances: ganeti Description: debootstrap-based instance OS definition for ganeti Ganeti is a virtual server cluster management software tool built on top of the Xen virtual machine monitor and other Open Source software. After setting it up it will provide you with an automated environment to manage highly available virtual machine instances. . This package provides an OS definition for ganeti that will allow installation of Debian (and possibly Unbuntu) instances via debootstrap. debian/copyright0000644000000000000000000000257511752541141011133 0ustar This package was debianized by: Iustin Pop on Tue, 19 Feb 2008 19:53:48 +0100 It was then taken over for official Debian maintenance by the Debian Ganeti Team. It was downloaded from: http://code.google.com/p/ganeti/ Upstream Author: Google Inc Copyright: Copyright (C) 2006, 2007, 2008, 2009 Google Inc. License: 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is: Copyright (C) 2008, 2009 Debian Ganeti Team and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/dirs0000644000000000000000000000017011752541141010051 0ustar usr/share/ganeti/os/debootstrap var/cache/ganeti-instance-debootstrap etc/default etc/ganeti/instance-debootstrap/hooks debian/docs0000644000000000000000000000001411752541141010035 0ustar README NEWS debian/examples0000644000000000000000000000001711752541141010726 0ustar examples/hooks debian/hooks/0000755000000000000000000000000011752541141010312 5ustar debian/hooks/clear-root-password0000755000000000000000000000106011752541141014144 0ustar #!/bin/sh set -e # Make sure we're not working on the root directory if [ -z "$TARGET" -o "$TARGET" = "/" ]; then echo "Invalid target directory '$TARGET', aborting." 1>&2 exit 1 fi if [ "$(mountpoint -d /)" = "$(mountpoint -d "$TARGET")" ]; then echo "The target directory seems to be the root dir, aborting." 1>&2 exit 1 fi # Disable root's password, as the switch to enable shadow by default # has left root with a disabled password, preventing the initial login echo "Disabling root's password" chroot "$TARGET" passwd -d root exit 0 debian/hooks/xen-hvc00000755000000000000000000000111511752541141011666 0ustar #!/bin/sh set -e # Make sure we're not working on the root directory if [ -z "$TARGET" -o "$TARGET" = "/" ]; then echo "Invalid target directory '$TARGET', aborting." 1>&2 exit 1 fi if [ "$(mountpoint -d /)" = "$(mountpoint -d "$TARGET")" ]; then echo "The target directory seems to be the root dir, aborting." 1>&2 exit 1 fi # Fix the console information for xen-pvm mode if [ "$HYPERVISOR" = "xen-pvm" ]; then echo "xen-pvm hypervisor detected, adding getty on hvc0" cat >> "$TARGET"/etc/inittab <