1
0
mirror of synced 2026-01-23 18:47:02 +00:00

608 Commits

Author SHA1 Message Date
Axel Beckert
4434acc7d9 Pass --yes to lvcreate only if LVM version is 2.02.99 or higher
Fixes regression introduced with 4.5 by the fix for #754517. The
regression has been reported upstream at
http://xen-tools.org/pipermail/xen-tools-discuss/2015-January/001079.html

Uses Sort::Versions for that. So add a new (build-)dependency on
libsort-versions-perl in the Debian package.
2015-07-03 19:06:16 +02:00
Axel Beckert
b31f766d2b Introduce new config files mirrors.conf and distributions.conf
Split off hardcoded release code names list and default mirrors in
xen-create-image into separate configuration file which are parsed
before the default settings or command-line options are set.
2015-06-12 01:39:14 +02:00
Axel Beckert
0ca84fa1a5 Use md5 as default hash method again
Older Debian releases are not able to cope with sha256 hashed
passwords and refuse login without any visible or accessible error
message.

This only affects the initially set root password and does not affect
passwords which are later set with the DomU's "passwd" tool.
2015-06-11 22:58:09 +02:00
Axel Beckert
43a22462e1 Support passing commandline options with --debootstrap-cmd 2015-06-11 22:04:20 +02:00
Axel Beckert
87aba7164e Drop all occurrences of apt's --force-yes parameter
It only forces the installation of untrusted packages and that's
unwanted.

Closes: #776487
2015-06-11 18:08:52 +02:00
Axel Beckert
df3075ca1c Update list of Ubuntu releases: + wily, lucid → archived/eol 2015-06-11 16:20:08 +02:00
Axel Beckert
0d90a901d6 Preliminary support for the Debian release after Jessie: Stretch 2015-04-19 16:39:48 +02:00
Axel Beckert
5cab796fcc Change all occurrences of http.debian.net to httpredir.debian.org 2015-04-19 16:31:41 +02:00
Axel Beckert
fd0a486beb Release as 4.5 2014-10-26 01:43:53 +02:00
Axel Beckert
8562398af1 Add 15.04 Vivid, use old-releases.ubuntu.com for 13.10 Saucy 2014-10-25 22:43:18 +02:00
Axel Beckert
1defbd3c02 Raise default password length from 8 to 23 2014-10-08 17:41:24 +02:00
Axel Beckert
19e07799cd Add password length sanity check with fallback to default length 2014-10-08 17:41:24 +02:00
Axel Beckert
5d7e059668 --password overrides --genpass
Closes: #764143

Based on patch by Santiago Vila.
2014-10-08 17:41:24 +02:00
Santiago Vila
e1a5e89502 Fix two more typos 2014-10-06 00:56:49 +02:00
Santiago Vila
043b58b5ea Fix unaligned maxmem output of xen-create-image. (Closes: #764126) 2014-10-05 18:16:07 +02:00
Axel Beckert
48097cd07b Fix initial configuration summary in cases where pygrub is used 2014-09-25 23:18:48 +02:00
Eric Engstrom
58943d3b19 Fix lvcreate awaiting user input when creating swap lv 2014-09-25 22:07:30 +02:00
Axel Beckert
0c894eec48 Update list of supported Ubuntu releases
Preliminary support for Ubuntu 14.10 Utopic Unicorn
2014-05-17 12:07:33 +02:00
Axel Beckert
fcebb14002 Drop all xend related sanity checks
They cause more havoc nowadays than they help.

Thanks Ian Campbell!

Closes: #732456
2014-03-28 22:24:21 +01:00
Adrian C. (anrxc)
4505f7e141 bin: support hook overrides in xt-customize-image
The systems administrator can optionally provide site-specific
revisions of upstream hooks by placing them in the directory
/etc/xen-tools/hooks.d/ as a method for disabling hooks, adding
site-specific extra features that don't get overwritten on upgrades,
or patching bugs early.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-15 17:18:28 +01:00
Axel Beckert
f20e312140 Release 4.4 2013-12-11 23:03:55 +01:00
Axel Beckert
e1caf2566a Declare this as 4.4 RC1 2013-10-28 22:39:03 +01:00
Axel Beckert
2c020323f6 Refactoring: xt-create-xen-config: Use s/// to strip trailing MB size suffixes 2013-10-28 22:28:40 +01:00
Axel Beckert
c82cb31adc Fix cases where maxmem is not defined
(which is fine)
2013-10-28 21:57:10 +01:00
Axel Beckert
b676da079c xen-delete-image: Exit with return code != 0 in all error cases 2013-10-28 21:31:14 +01:00
Axel Beckert
4d73574a40 xen-delete-image: Proper error message if --test is not used with --dir
Also abort earlier in this case.

Closes: #704878
2013-10-28 21:28:45 +01:00
Axel Beckert
d9ed3e65db Merge branch 'fix_passwd' of gitorious.org:xen-tools/aseques-xen-tools 2013-10-25 18:36:54 +02:00
Joan
42345c75d4 Fix password interation on image creation 2013-10-25 10:51:11 +02:00
Axel Beckert
ff4aa11dd3 Merge branch 'maxmem' of gitorious.org:xen-tools/aseques-xen-tools 2013-10-23 13:59:16 +02:00
Axel Beckert
cfa30f06b6 Preliminary support for Ubuntu 14.04 Trusty Tahr 2013-10-23 13:54:45 +02:00
Joan
1374208d3b Implemente the option maxmem in xen-tools allowing to set a maximum value to enable dynamic memory ballooning. 2013-10-18 12:59:50 +02:00
Axel Beckert
0e8178ab0f Fix german-ish grammar and remove dash in "IP-Addresses" 2013-10-01 22:20:41 +02:00
Axel Beckert
d20f832f82 Also display MAC address after the DomU has been created 2013-10-01 22:19:10 +02:00
Axel Beckert
86dd78c681 Drop support for memory size in kilobytes in xen-create-image
Neither xt-create-xen-config nor xm support it.
2013-09-24 22:41:20 +02:00
Axel Beckert
6644afa9fd xen-list-images now displays a unit after the memory size 2013-09-24 22:36:27 +02:00
Axel Beckert
a9dfc112b9 Merge commit 'refs/merge-requests/5' of git://gitorious.org/xen-tools/xen-tools into merge-requests/5 2013-09-24 22:08:41 +02:00
Axel Beckert
f1c7c6e11c Loop around calling "passwd" to get a second chance to change the password
Needs Term::UI which is part of Debian's perl-modules package, hence
no new (build-) dependencies needed.
2013-08-24 00:54:21 +02:00
Axel Beckert
3b806d9f25 Do not run "passwd" via runCommand
runCommand captures STDOUT for logging which is not desired for
interactive commands.

Makes --passwd usable again.

Thanks to Christan Herzog for the bug report.
2013-08-24 00:12:44 +02:00
Axel Beckert
12960c8f2b Release 4.4 beta 1 2013-08-23 19:31:47 +02:00
Axel Beckert
fbc903877a Declare POD encoding to be UTF-8 in bin/*
Fixes FTBFS with Perl 5.18.

Closes: #720519
2013-08-23 09:08:43 +02:00
Axel Beckert
fb8b494b41 Preliminary support for Ubuntu Saucy
Does not yet work due to missing support for Saucy in debootstrap.

Also move default mirror for Ubuntu Hardy from archive to old-releases
as Hardy is now EoL.
2013-07-11 01:49:46 +02:00
Axel Beckert
e5abe64ae0 Fix broken quoting in list of required binaries 2013-07-11 00:44:25 +02:00
Axel Beckert
9c47e5da4f Use File::Which instead of findBinary or which 2013-07-11 00:39:05 +02:00
Axel Beckert
699025f33e Use Data::Validate::{Domain,IP} for IP addresses and hostname checks
Add corresponding dependencies on libdata-validate-{domain,ip}-perl.
2013-07-10 22:38:29 +02:00
Axel Beckert
74f35d6550 Better document and check requirements for --apt_proxy
See http://bugs.debian.org/623443 for the corresponding apt issue.

Also add a dependency on libdata-validate-uri-perl which is used to do
the syntax check.
2013-07-10 21:50:09 +02:00
Axel Beckert
5ac0f15c32 Remove all redundant pod-inline occurrences of "=cut"
Also care that there are always two blank lines before each "=head1"
(except behind "=head1 NAME").
2013-04-18 20:41:51 +02:00
Axel Beckert
ea209f085b Refactor some code duplication in xen-delete-image 2013-04-18 16:21:25 +02:00
Axel Beckert
a70b79f63f Hopefully catch all remaining "ARRAY(0x…).log" issues 2013-04-18 14:45:27 +02:00
Axel Beckert
c482220b99 Rework xci POD: New SYNOPSIS; add EXAMPLES, rename old SYNOPSIS to OPTIONS 2013-04-18 13:52:45 +02:00
Axel Beckert
6871954f6e Merge branch 'lib-vs-share' 2013-04-11 19:49:53 +02:00