1
0
mirror of synced 2026-01-16 00:03:51 +00:00

169 Commits

Author SHA1 Message Date
Axel Beckert
e1c1793232 Do not add security support if we're installing Sid 2010-05-23 21:40:30 +02:00
Axel Beckert
df82d28c3c Refactoring: Make check for sources.list more readable 2010-05-23 21:38:11 +02:00
Nathan
c0549371cc Add installPackage() function to call the appropriate distro installation function 2010-05-17 03:33:08 +02:00
Nathan O'Sullivan
f8f2915ec0 Mount /dev/pts while running apt-get to reduce unnecessary errors in logfile 2010-05-17 03:25:52 +02:00
Nathan O'Sullivan
2bbd414b19 Copy /etc/localtime from host 2010-05-17 03:24:39 +02:00
Axel Beckert
abb37b2587 Edgy to Hardy: Also use hvc0 als default console device 2010-05-17 02:42:05 +02:00
Axel Beckert
f34afec732 hooks/intrepid: Fix log message regarding console tty 2010-05-17 02:41:23 +02:00
Axel Beckert
17b105e8e0 Use hvc0 instead of tty1 in intrepid, too 2010-05-17 02:32:38 +02:00
Axel Beckert
d670d13071 pygrub with Debian: Support the case where the local architectures is used by default
(Also fixes some typos in logged messages.)
2010-05-17 01:28:01 +02:00
Axel Beckert
dd5edf3ccb Call MAKEDEV only if it is installed.
(Which is the case as long as it was a 'required' package.)
2010-05-17 00:10:02 +02:00
Axel Beckert
57cc021ba7 Refactoring: consistent variable usage: ${variable}; some double quotes to ensure valid "test" syntax. 2010-05-16 23:39:44 +02:00
Axel Beckert
5653681c95 Fix syntax error 'unexpected operator' in kernel architecture check 2010-05-16 03:13:24 +02:00
Axel Beckert
d0b7777218 Use double quotes for ${pygrub} check 2010-05-16 03:06:14 +02:00
Axel Beckert
40405b41df Refactoring: Remove more differences between Karmic and Debian hooks 2010-05-16 02:50:35 +02:00
Axel Beckert
db32bcffd4 Refactoring: Remove whitespace differences between Karmic and Debian hooks 2010-05-16 02:48:45 +02:00
Axel Beckert
f72c3869e8 Karmic + Lucid: Also use hvc0 instead of tty1 2010-05-15 22:05:29 +02:00
Axel Beckert
49d01d9a76 Use hvc0 and xvda devices by default, add --scsi option for sda names 2010-05-15 16:04:17 +02:00
Axel Beckert
28803001d3 Use hvc0 instead of tty1 for Xen console by default 2010-05-15 15:48:59 +02:00
Dmitry Nedospasov
6f69386f90 * Test the supported distros
* Added an extra hook for Intrepid and Jaunty
* Cleaned up install-kernel scripts
* Updated README
* Updated Makefile to include the new hook
2010-04-24 17:01:53 +02:00
Dmitry Nedospasov
a214296973 Updated kerenl install script in edgy 2010-04-17 19:24:51 +02:00
Dmitry Nedospasov
a155db0339 parse distribution for grub menu.lst from /etc/issue 2010-04-17 17:52:54 +02:00
Dmitry Nedospasov
0ecc697a82 1. Added pygrub support to the ubuntu scripts
- Hardy still not working
2. Added karmic support
	- Working fully
3. Edited Makefile to install karmic hooks
2010-04-17 14:41:18 +02:00
Dmitry Nedospasov
a82f8754df Changed description of the kernel script 2010-04-17 03:24:13 +02:00
Dmitry Nedospasov
efc9058c10 50-setup-hostname: added 127.0.1.1 with hostname for static ips, with FQDN for DHCP hosts
70-install-ssh: "ssh" package doesn't fully resolve on atleast the newer distros, changed the package "ssh" to "openssh-server"

80-install-kernel: new script to install a kernel for the pygrub flag

80-install-modules: added support for pygrub, this script is essentially ignored if pygrub is set. The kernel script will install modules in that case.
2010-04-17 03:12:52 +02:00
Axel Beckert
ae5a2eab53 Replace all tabs with 8 blanks to make t/no-tabs.t happy 2010-04-15 02:22:44 +02:00
Axel Beckert
3f9c79f0f2 Remove tab from blank line 2010-04-15 02:22:44 +02:00
Axel Beckert
06e4590d0a Fix bashisms: echo -e -> printf 2010-04-09 01:48:15 +02:00
Axel Beckert
4728dffa72 Fix bashism: ${parm/?/pat[/str]} 2010-04-09 01:42:53 +02:00
Axel Beckert
eae96c3b5a Fix bashisms: kill -HUP -> kill -s HUP 2010-04-09 01:32:22 +02:00
Axel Beckert
8ca88a9551 Installs dhclient for CentOS and Fedora if DHCP networking is requested (LP: #241446) 2010-03-26 21:03:50 +01:00
Axel Beckert
f007a6e7c5 Also check /etc/apt/sources.list.d for security updates 2010-03-26 20:52:43 +01:00
Axel Beckert
110498e5b8 First check if /etc/apt/sources.list exists, then grep it. If it doesn't exist enable security updates by default 2010-03-26 20:51:35 +01:00
Axel Beckert
b9c1b50873 Just check for the string 'security' in sources.list, so it also matches local and ubuntu mirrors (LP: #309750) 2010-03-26 20:46:13 +01:00
Axel Beckert
be1ef1850b Calls pwconv and grpconv inside chroot when installing Fedora (Closes: #499476) 2010-03-11 00:56:48 +01:00
Axel Beckert
ead13f17b3 Don't write the FQDN into /etc/hostname (Closes: #492583) 2010-03-10 23:24:21 +01:00
Axel Beckert
aad28f3fd3 Don't use perl syntax in shell scripts ;-) 2010-03-03 02:11:44 +01:00
Axel Beckert
e08ade0875 Fix typo in /usr/lib/xen-tools/*.d/75-fixup-securetty (Closes: #503339) 2010-01-26 02:51:31 +01:00
Axel Beckert
610ba4e71d Make sure, MAKEDEV is found (Closes: #502798) 2010-01-26 02:25:03 +01:00
Steve Kemp
31719505f6 Updated. 2009-01-06 21:01:51 +00:00
Steve Kemp
9d061fe5a6 Always make /dev/pts available 2008-11-24 14:37:14 +00:00
Steve Kemp
aa7a2c4c5e New command line argument --no-hosts 2008-11-23 13:06:24 +00:00
Steve Kemp
290a30b1b1 Record the arch for rpm-based distros. Closes: 475125 2008-10-13 19:14:47 +01:00
Steve Kemp
3717d0cc15 Correctly force purging of packages in the role script(s).
#477629
2008-04-30 19:05:54 +01:00
Steve Kemp
5d11b820b7 Add the hostname to dom0's /etc/hosts in the correct order.
#477775
2008-04-30 19:05:21 +01:00
Steve Kemp
161ee94632 Add /dev/pts to the fedora guests. #474919 2008-04-30 19:04:04 +01:00
Steve Kemp
7a6c7f17c9 Fixed bug where quote characters prevented interpolation.
Added naive test case to catch the error next time round..
2008-02-20 11:55:32 +00:00
Steve Kemp
14e8c36a85 Removed obsolete $Id:$ tags from CVS import 2008-02-01 19:30:45 +00:00
Steve Kemp
5d0748fbd5 Updated gentoos' networking script(s). (dhcp only). 2008-02-01 12:03:07 +00:00
Steve Kemp
309ee5335c BUGFIX 2007-12-20 12:18:46 +00:00
Steve Kemp
a18d68d69f BUFXI 2007-12-20 12:18:37 +00:00