Axel Beckert
05314c37cf
Enforces umask 022 in 50-setup-hostname*
...
Hopefully closes #619630
2012-06-07 13:39:02 +02:00
Axel Beckert
756cbd13de
Merge gentoo/80-install-modules into common/80-install-modules-rpm
2012-06-06 17:39:18 +02:00
Axel Beckert
85cbbded61
Merge 90-make-fstab-deb and 90-make-fstab-rpm
...
Split off deb-specific part into common/91-install-fs-tools
2012-06-06 17:21:33 +02:00
Axel Beckert
a3d53e78b5
Use the debian/55-create-dev script as common/55-create-dev
...
Use it also for gentoo and dapper.
Add a TODO note about stuff which came up during comparing all the
previously existing variants of 55-create-dev.
2012-06-06 17:03:04 +02:00
Axel Beckert
d6f4e7d32a
Link gentoo/90-make-fstab to common/90-make-fstab-rpm
...
Only difference was one more informative logMessage
2012-06-05 18:17:55 +02:00
Axel Beckert
5acbc5171f
Link gentoo/10-disable-tls to common/10-disable-tls, too
2012-06-04 18:26:32 +02:00
Axel Beckert
14226d382b
Remove debian-specific stuff from hooks/gentoo/10-disable-tls
2012-06-04 18:24:06 +02:00
Axel Beckert
98983cc9a0
Refactoring: Massive code deduplication in hooks directory (Part 3)
...
All remaining hooks files just differed syntactially, but not
semantically. They were merged into one file sporting the most
readable syntax variant.
2012-06-04 16:59:19 +02:00
Axel Beckert
fc736c040d
Refactoring: Massive code deduplication in hooks directory
...
All hooks files which were identical and had no second group of
identically named hook files have been moved to a new hooks/common
directory and now have symbolic links to the new single file at their
old locations.
Also slightly modified to make this work:
* Makefile: copy new hooks/common directory
* Some tests: ignore new hooks/common directory
2012-06-04 16:26:03 +02:00
Stéphane Jourdois
8589e0ca80
Add btrfs support.
2010-08-06 15:48:25 +02:00
Stéphane Jourdois
77a3876cbe
Do not copy host sudoers in guest.
...
As noticed by Dmitry Nedospasov (Cf. [1]), sudoers file should not be
copied by default.
Move this hook to a role, and add a warning about this in role.
[1] http://xen-tools.org/pipermail/xen-tools-dev/2010-July/000146.html
2010-07-25 22:10:59 +02:00
Stéphane Jourdois
2e3924427e
Use Dom0's resolv.conf unless nameserver is set.
...
If nameserver config option is not set (default value), copy Dom0's
/etc/resolv.conf on guest.
Provide a role to show how to customize /etc/resolv.conf in guest.
2010-07-18 18:35:51 +02:00
Axel Beckert
806f2d0b23
Replace tabs by 8 blanks (for now)
2010-07-16 17:38:37 +02:00
Axel Beckert
c78dc0ab77
Remove redundant * in string comparison, remove trailing whitespace
2010-07-15 09:29:05 +02:00
Stéphane Jourdois
f032178de9
Add new nameserver config option
...
This optional config value is used in hooks to create domU resolv.conf.
If unset, domU's resolv.conf is created by the guest distrib install.
2010-07-10 11:38:03 +02:00
Stéphane Jourdois
09f38740c8
Use dom0 resolv.conf when chrooting
...
Temporarily use resolv.conf from dom0 when chrooting into domU,
to be able to run apt-get and yum inside chroot.
This permits to use different nameservers in domU, and does not
break install nor offline update from dom0.
2010-07-10 10:51:38 +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
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
e08ade0875
Fix typo in /usr/lib/xen-tools/*.d/75-fixup-securetty ( Closes : #503339 )
2010-01-26 02:51:31 +01: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
5d11b820b7
Add the hostname to dom0's /etc/hosts in the correct order.
...
#477775
2008-04-30 19:05:21 +01:00
Steve Kemp
5d0748fbd5
Updated gentoos' networking script(s). (dhcp only).
2008-02-01 12:03:07 +00:00
steve
3689335cbe
2007-10-04 17:46:19 by steve
...
Add a script to ensure xvc0 + hvc0 are included in /etc/securetty.
(Closes : #442926 )
2007-10-04 17:46:22 +00:00
steve
08ec2265b6
2007-09-04 21:03:19 by steve
...
Updated to allow the user to specify 'disk_device'
2007-09-04 21:03:21 +00:00
steve
2b602dece7
2007-09-04 20:55:02 by steve
...
Allow an optional serial_device setting to control which serial device
is used.
2007-09-04 20:55:03 +00:00
steve
4f0cf7a837
2007-08-07 20:52:33 by steve
...
Fix typo on pointopoint links. (Closes : #436170 )
2007-08-07 20:52:34 +00:00
steve
bf8b212a24
2007-07-22 21:13:05 by steve
...
Patch [1/2] from Andrew Sutherland - Integer fixups for dash.
2007-07-22 21:13:17 +00:00
steve
eafc7427c2
2007-07-07 23:48:08 by steve
...
INITIAL COMMIT: Support for arbitary partitioning systems.
Patch from Sascha Kettler.
2007-07-07 23:49:02 +00:00
steve
fc88b30ea4
2006-12-26 22:15:34 by steve
...
Add stub /etc/hosts file for new instances which use DHCP.
See #484683
2006-12-26 22:15:36 +00:00
steve
51ef6b0908
2006-12-25 23:17:20 by steve
...
Make sure that all groups exist.
2006-12-25 23:17:26 +00:00
steve
02a5222b55
2006-12-25 23:13:09 by steve
...
Fixed stupid typo.
2006-12-25 23:13:10 +00:00
steve
52a4dca26e
2006-12-25 23:10:49 by steve
...
Copy the group memberships too.
2006-12-25 23:10:50 +00:00
steve
b973784e6e
2006-12-25 22:36:18 by steve
...
Actually terminate early if we've got a populated /dev directory - rather than just reporting that we will terminate and not actually doing so.
2006-12-25 22:36:18 +00:00
steve
12193d90c8
2006-12-23 23:22:27 by steve
...
Add short hostname to /etc/host on dom0 too.
2006-12-23 23:22:28 +00:00
steve
ffda7dcf21
2006-11-29 17:35:40 by steve
...
Don't run MAKEDEV if there appear to be files in /dev on the new
systems. This is a potential speed gain.
2006-11-29 17:35:41 +00:00
steve
722a6127f8
2006-11-29 11:52:55 by steve
...
Moved ubuntu hooks into dapper.d/ + edgy.d/
2006-11-29 11:53:02 +00:00
steve
cfac293c8f
2006-11-19 19:33:47 by steve
...
Updated the copying of kernel modules.
Patch by Neil Wilson.
See #399196
2006-11-19 19:33:48 +00:00
steve
203adbb5cc
2006-11-15 14:31:33 by steve
...
Don't touch TLS if we're on a 64 bit host.
See #397933
2006-11-15 14:31:34 +00:00
steve
8f79f92a88
2006-10-19 17:04:17 by steve
...
Portability fixups for using a non-bash shell.
Patches from Eric Lemoine.
2006-10-19 17:04:18 +00:00
steve
7107b31e69
2006-08-24 20:33:07 by steve
...
Updated such that role scripts all live in one directory, regardless of
the distribution to which they are meant to be applied.
This role directory can be specified with "--roledir", or via the configuration file setting "roledir=/path/to/dir".
See the following bug for rationale:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383822
2006-08-24 20:33:10 +00:00
steve
59eaa22a4b
2006-08-17 12:30:11 by steve
...
Avoid changing console types to "console" so that job control
remains available.
2006-08-17 12:30:16 +00:00
steve
acb2f1b1df
2006-08-15 18:11:33 by steve
...
1. Mount /proc with nodev, nosuid, noexec just to be paranoid.
2. Fix syntax srror in script. D'oh.
2006-08-15 18:11:33 +00:00
steve
3e1e2d123b
2006-08-15 09:19:24 by steve
...
Added "--noswap" option.
See: #383058
2006-08-15 09:19:25 +00:00
steve
7d3bd8633d
2006-06-30 10:09:56 by steve
...
Bytemark: Add point-to-point setting.
2006-06-30 10:09:56 +00:00
steve
f1b46466d4
2006-06-23 19:08:45 by steve
...
Fixed so that shadow copying works.
2006-06-23 19:08:46 +00:00
steve
31d8958b96
2006-06-23 18:48:15 by steve
...
Don't trash the shadow file.
2006-06-23 18:48:16 +00:00
steve
c61f4c96de
2006-06-23 18:32:26 by steve
...
Added support for copying user accounts when given an --accounts flag.
2006-06-23 18:32:31 +00:00