1
0
mirror of synced 2026-01-13 15:17:30 +00:00

Compare commits

..

11 Commits

Author SHA1 Message Date
C.J. Collier
414e53d496
reverted to maiden name; re-sorted; using corporate email address (#70) 2024-08-05 22:49:50 +02:00
Axel Beckert
44f2d107e1 Sync fs examples and defaults in xen-create-image with values in xen-tools.conf
ext3 → ext4
2023-12-12 00:50:03 +01:00
Axel Beckert
e5e555404a Fix test suite failures (whitespace issues) after #64 2023-12-12 00:18:39 +01:00
Axel Beckert
44062973de Fix missing regexp brackets from #64 2023-12-12 00:15:17 +01:00
Axel Beckert
39e9f0f0ed Fix documentation typo found by @diederikdehaas in #64 2023-12-12 00:13:47 +01:00
Axel Beckert
debd83e38c Bump upstream version to 4.10.0 for new feature
Document the fact that we are now using pure Semantic Versioning
including trailing zeros.

Also update debian/changelog and NEWS.markdown for previous pull
request.

Also remove erroneously added eol tag for Ubuntu Jammy again as it is
an LTS release.
2023-12-12 00:12:25 +01:00
Axel Beckert
6c09007eff
Merge pull request #64 from TeamOS3/master
Add support for specifying guest type
2023-12-11 23:54:55 +01:00
Axel Beckert
ab32eaf0b9 Update list of Ubuntu releases, declare Trixie as being testable
Also bump upstream version to 4.9.3.
2023-12-11 23:32:11 +01:00
Axel Beckert
ae7ecc4e0e Drop alternative Suggests on btrfs-tools
Closes: #932122

Security support for Xen in Debian 8 -- for which this was still
needed -- has long ended.
2023-12-11 23:15:18 +01:00
Arno Bakker
624cd9fb9b - Removed copy-paste junk in documentation. 2021-10-11 12:11:58 +02:00
Arno Bakker
0990f50fad - Added 'type' parameter to specify desired guest type (PV,PVH,HVM) 2021-10-11 11:39:25 +02:00
18 changed files with 73 additions and 23 deletions

View File

@ -12,9 +12,6 @@ Contributions
Listed alphabetically by surname.
C.J. Adams-Collier <cjcollier [at] com.gmail>
- Added new modular structure to the code.
Nick Anderson <nick [at] net.anders0n>
- Better bash completion for xen-create-image.
@ -31,6 +28,9 @@ Contributions
Brian Bennett <bahamat [at] net.digitalelf>
- Made multiple times given --ip options work
C.J. Collier <cjac [at] google.com>
- Added new modular structure to the code.
Vagrant Cascadian <vagrant [at] org.debian>
- Less redundant SSH key generation

View File

@ -14,7 +14,7 @@
#
TMPDIR ?= /tmp
DIST_PREFIX = ${TMPDIR}
VERSION = 4.9.2
VERSION = 4.10.0
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
BASE = xen-tools
VCS = git
@ -235,6 +235,7 @@ install-hooks:
-cd ${prefix}/usr/share/xen-tools/ && ln -s artful.d jammy.d
-cd ${prefix}/usr/share/xen-tools/ && ln -s artful.d kinetic.d
-cd ${prefix}/usr/share/xen-tools/ && ln -s artful.d lunar.d
-cd ${prefix}/usr/share/xen-tools/ && ln -s artful.d mantic.d
-cd ${prefix}/usr/share/xen-tools/ && ln -s artful.d devel.d
cp hooks/common.sh ${prefix}/usr/share/xen-tools
cp -r hooks/common ${prefix}/usr/share/xen-tools

View File

@ -1,3 +1,29 @@
xen-tools 4.10.0 (TODO: UNRELEASED)
===================================
New Features
------------
* Add support for specifying guest type. (GH #64; PR by Arno Bakker
@arno481)
Distribution Releases Changes
-----------------------------
* Preliminary support for
+ Ubuntu 23.10 Mantic Minotaur
* Declare the following releases as EoL:
+ Ubuntu 22.10 Kinetic Kudu
* Debian Trixie is now Testing → remove dont-test flag
Other Changes
-------------
* Switch to pure Semantic Versioning including trailing zeros.
* Sync examples for "fs" and "fs" defaults in xen-create-image with
(effective) values in xen-tools.conf: ext3 → ext4
xen-tools 4.9.2 (released 06 Feb 2023)
======================================
@ -10,7 +36,7 @@ Distribution Releases Changes
+ Ubuntu 22.10 Kinetic Kudu
* Preliminary support for
+ Debian 14 Forky
+ Ubuntu 23.04 Lunar Lobste
+ Ubuntu 23.04 Lunar Lobster
* Declare the following releases as EoL:
+ Ubuntu 12.04 Precise Pangolin (LTS)
+ Ubuntu 20.10 Groovy Gorilla

View File

@ -251,8 +251,8 @@ Version Numbering Scheme
Since release 4.4, the version numbering scheme of xen-tools tries to
comply with the [Semantic Versioning](http://semver.org/)
specification, with the only exception that trailing zeroes are
omitted.
specification, with the only exception that in releases before 4.10
trailing zeroes were omitted.
Between the releases 3.9 and 4.4, the version numbering scheme
followed roughly the same ideas, but less strict.

View File

@ -215,6 +215,8 @@ and EVMS EXAMPLE.
Set the number of vcpus that the new instance will
have instead of the default value of "1".
--type=type Specify the VM type to use for the new guest.
Valid choices are 'pv' (default), 'pvh', or 'hvm'.
Installation options:
@ -444,7 +446,7 @@ Create a Xen configuration file in so that xm/xl can start the new domain.
memory = 128Mb # Memory size
maxmem = 512Mb # Memory size
swap = 128Mb # Swap size
fs = ext3 # use EXT3 filesystems
fs = ext4 # use EXT4 filesystems
dist = stable # Default distribution to install.
#
@ -872,7 +874,7 @@ my $MOUNT_POINT = undef;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
#
@ -1333,7 +1335,7 @@ sub setupDefaultOptions
$CONFIG{ 'arch' } =
which('dpkg') ? `dpkg --print-architecture` : '';
chomp($CONFIG{ 'arch' });
$CONFIG{ 'fs' } = 'ext3';
$CONFIG{ 'fs' } = 'ext4';
$CONFIG{ 'force' } = 0;
$CONFIG{ 'install' } = 1;
$CONFIG{ 'hooks' } = 1;
@ -1345,6 +1347,7 @@ sub setupDefaultOptions
$CONFIG{ 'ipfile' } = '/etc/xen-tools/ips.txt';
$CONFIG{ 'output' } = '/etc/xen';
$CONFIG{ 'extension' } = '.cfg';
$CONFIG{ 'type' } = 'pv'; # Arno: as per man xl.cfg
#
# Installation method defaults to "debootstrap" using
@ -1490,6 +1493,10 @@ sub checkOption
vlan => {
check => qr/^([1-9][0-9]{0,2}|10[01][0-9]|102[0-4])$/i,
message => "must be a number between 1 and 1024.\n",
}, # Arno
guestType => {
check => qr/^(pv|pvh|hvm)$/, # man xl.cfg
message => "must be 'pv', 'pvh' or 'hvm'.\n",
},
);
@ -1529,6 +1536,7 @@ sub checkOption
hash_method => 'hashMethod',
apt_proxy => 'uri',
vlan => 'vlan',
type => 'guestType', # Arno
);
# If given option does not exists in optionsTypes,
@ -1685,6 +1693,7 @@ sub parseCommandLineArguments
"extension:s", \&checkOption,
"dontformat", \&checkOption,
"lvm_thin=s", \$CONFIG{ 'lvm_thin' },
"type:s", \&checkOption, # Arno
# Help options
"debug!", \$CONFIG{ 'debug' },
@ -2719,6 +2728,7 @@ sub showSummary
}
}
logprint("Guest type : $CONFIG{'type'}\n");
logprint("Image type : $CONFIG{'image'}\n");
logprint("Memory size : $CONFIG{'memory'}\n");

View File

@ -121,7 +121,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm-nfs.tmpl';
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
# store version number away.

View File

@ -167,7 +167,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
#

View File

@ -106,7 +106,7 @@ $CONFIG{ 'extension' } = '.cfg';
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';

View File

@ -111,7 +111,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
#

View File

@ -113,7 +113,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
#

View File

@ -148,7 +148,7 @@ $CONFIG{ 'extension' } = '.cfg';
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';

View File

@ -100,7 +100,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';

View File

@ -80,7 +80,7 @@ use strict;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
# Init
my $mirror = '';

View File

@ -113,7 +113,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.9.2';
my $RELEASE = '4.10.0';
#

11
debian/changelog vendored
View File

@ -1,3 +1,14 @@
xen-tools (4.10.0-1) UNRELEASED; urgency=medium
* New upstream feature release
+ Update list of Ubuntu and Debian releases.
+ Support for specifying guest type. (initial patch by Arno Bakker;
GH #64)
* Drop alternative Suggests on btrfs-tools. (Closes: #932122; Security
support for Xen in Debian 8 has long ended.)
-- Axel Beckert <abe@debian.org> Mon, 11 Dec 2023 23:11:47 +0100
xen-tools (4.9.2-1) unstable; urgency=medium
* New upstream maintenance release

2
debian/control vendored
View File

@ -51,7 +51,7 @@ Recommends: debian-archive-keyring,
ubuntu-keyring | ubuntu-archive-keyring,
xen-hypervisor,
xen-utils
Suggests: btrfs-progs | btrfs-tools,
Suggests: btrfs-progs,
cfengine2,
grub-xen-host,
reiserfsprogs,

View File

@ -18,7 +18,7 @@ stretch = debian pygrub
buster = debian pygrub
bullseye = debian pygrub
bookworm = debian pygrub
trixie = debian pygrub dont-test
trixie = debian pygrub
forky = debian pygrub dont-test
sid = debian pygrub
@ -64,7 +64,8 @@ groovy = ubuntu eol pygrub
hirsute = ubuntu eol pygrub
impish = ubuntu eol pygrub
jammy = ubuntu pygrub
kinetic = ubuntu pygrub
lunar = ubuntu pygrub dont-test
kinetic = ubuntu eol pygrub
lunar = ubuntu pygrub
mantic = ubuntu pygrub dont-test
devel = ubuntu pygrub dont-test

View File

@ -30,6 +30,7 @@ memory = '{$memory}'
$OUT .= "maxmem = '$maxmem'\n";
}
}
type = '{$type}'
#
# Disk device(s).