1
0
mirror of synced 2026-01-19 17:18:39 +00:00

37 Commits

Author SHA1 Message Date
Axel Beckert
3b7750e9a9 Also suppport elevator=noop for pygrub 2012-11-13 23:35:20 +01:00
Axel Beckert
eededbddbd Add more logMessage to centos-*/25-setup-kernel
Make as similar as possible wrt to comments and installed packages.
2012-06-07 22:37:38 +02:00
Axel Beckert
c3528c23be Exchange initrd-*.img and initramfs-*.img between CentOS 5 + 6 2012-06-07 18:29:46 +02:00
Axel Beckert
10dc941e9f Fix shebang line in centos-*/25-setup-kernel
Also set the executable bit
2012-06-07 13:26:52 +02:00
Johan Schurer
cab677bab0 Add 25-setup-kernel to get CentOS 5 working 2012-06-07 12:54:49 +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
30bba7379b Use common/90-make-fstab-rpm also for centos-5
gid 5 is the group tty there, too

See http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-users-groups-standard-groups.html
2012-06-06 14:53:40 +02:00
Axel Beckert
e39b5a0edf Merge all centos/fedora 99-clean-image into common/99-clean-image-rpm
Rename previous common/99-clean-image to common/99-clean-image-deb; adjust all links
2012-06-05 18:58:31 +02:00
Axel Beckert
84602efdf8 Make {centos,fedora}-*/99-clean-image identical (whitespace changes only) 2012-06-05 18:23:41 +02:00
Axel Beckert
49db07bcf8 Merge all centos/fedora 50-setup-hostname into common/50-setup-hostname-rpm
Rename previous common/50-setup-hostname to common/50-setup-hostname-deb; adjust all links
2012-06-05 18:12:41 +02:00
Axel Beckert
5dd64112ed Refactoring: code deduplication: Merge hook files with just whitespace differences 2012-06-04 17:51:36 +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
2e9394d010 Refactoring: Massive code deduplication in hooks directory (Part 2)
All hooks files which were identical in two groups (debianoid and
redhatoid) have been moved to the new hooks/common directory and now
have symbolic links to the according new files at their old locations.
2012-06-04 16:47:59 +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
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
ead13f17b3 Don't write the FQDN into /etc/hostname (Closes: #492583) 2010-03-10 23:24:21 +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
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
5d11b820b7 Add the hostname to dom0's /etc/hosts in the correct order.
#477775
2008-04-30 19:05:21 +01:00
steve
5d6062133d 2007-11-21 18:55:39 by steve
Mount /dev/pts by default.
2007-11-21 18:55:39 +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
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
17a6a5e127 2007-07-16 02:18:46 by steve
Installation of Centos 4 & 5 & FC6 works :)
2007-07-16 02:18:47 +00:00
steve
c6ec56f7fa 2007-07-16 00:33:58 by steve
Added.
2007-07-16 00:34:06 +00:00