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

33 Commits

Author SHA1 Message Date
Axel Beckert
c66e5427ed File name and line numbers are not necessary for this warning → add \n 2019-02-08 16:40:08 +01:00
Axel Beckert
f50d1e37a2 Only run xen-toolstack helper script if both, xm and xl are present
Avoids warning about deprecated helper script.
2019-02-07 16:26:06 +01:00
Axel Beckert
4d4daca745 Fix typos found by check-all-the-things/spellintian 2016-08-11 21:47:35 +02:00
Axel Beckert
ca9e091d4b Switch many URLs to https://; update them if broken or redirected 2016-08-11 20:53:10 +02:00
Yuri Sakhno
fa276179d8 Fix for the exit code reporting in case of error 2016-04-17 00:47:31 +02:00
Axel Beckert
2dcea1666a Add as-installed testing support 2015-07-14 21:55:41 +02:00
Jean-Michel Nirgal Vourgère
0ccf513cf3 Allow # within configuration file comments
Line 20 of /etc/xen-tools/xen-tools.conf says: "Anything following a
'#' character is ignored as a comment."

This patch allows two or more hash characters in one row of the
configuration files.

Everything after the *first* hash is now ignored.

Closes: #783060
2015-04-21 14:39:54 +02:00
Axel Beckert
83a6d09e3d Flush output after each line in runCommand() 2014-10-26 01:20:44 +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
Axel Beckert
c62b053a7b Also declare POD encoding in Xen::Tools::Common
Recode Xen::Tools::Common to UTF-8

Fixes FTBFS with Perl 5.18. Closes #720519 a second time.
2013-09-24 22:02:28 +02:00
Axel Beckert
9c47e5da4f Use File::Which instead of findBinary or which 2013-07-11 00:39:05 +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
dcb9284636 Remove unused Perl modules Xen::Tools and Xen::Tools::Log
Further developement of the (if any) will happen in the git branch
"xen-tools-moose" where they are still available.

Also remove the according (already disabled) tests and test
modifications from the test suite.

Also remove no the more needed build-dependency on Moose as well as
one Makefile line installing the above mentioned Perl modules.
2013-04-18 20:17:33 +02:00
Axel Beckert
c1e7cb717a Add optional argument to unMountImage and hence runCommand to allow failure 2013-01-17 21:16:22 +01:00
Axel Beckert
0a7544c57a Replace some verbose print()s by logprint_with_config() 2012-11-28 01:10:58 +01:00
Axel Beckert
4c3e4abff7 Move findBinary to Xen::Tools::Common 2012-11-27 23:43:06 +01:00
Axel Beckert
9a9fa39f69 Make t/pod-coverage.t pass for Xen::Tools::Common 2012-11-27 23:38:26 +01:00
Axel Beckert
d2f935b823 Make fail(), logprint() and logonly() get \%CONFIG, too 2012-11-27 23:29:59 +01:00
Axel Beckert
68d548ef60 Parameter templates for fail(), logprint() and logonly() 2012-11-27 23:04:45 +01:00
Axel Beckert
ea23c79431 Support Xen xl toolstack elsewhere than xen-create-image 2012-11-27 22:49:56 +01:00
Axel Beckert
76fbd23423 Move findXenToolstack() to Xen::Tools::Common 2012-11-27 22:48:37 +01:00
Axel Beckert
494ec02a7c Merge branch 'master' into code-deduplication
Conflicts:
	bin/xen-create-image
	bin/xen-create-nfs
	bin/xt-create-xen-config
2012-11-27 22:40:08 +01:00
Axel Beckert
b1476676fe Xen::Tools::Common should return true 2012-05-31 01:21:35 +02:00
Axel Beckert
34ccb63f64 Move functions fail, logonly and logprint to Xen::Tools::Common
They're used in there
2012-05-31 01:10:14 +02:00
Axel Beckert
65d76b6aa4 Deduplicate setupAdminUsers 2011-11-16 01:44:11 +01:00
Axel Beckert
0f71f545df deduplicate runCommand()
Version taken from xen-create-image. Needed a small hack WRT $FAIL.
2011-11-16 01:34:23 +01:00
Axel Beckert
2de01d8cbc deduplicate xenRunning() 2011-11-16 01:10:51 +01:00
Axel Beckert
1d45cd33ab Use function prototypes in Xen::Tools::Common 2011-11-16 01:02:01 +01:00
Axel Beckert
24cd27b737 Create new Perl module Xen::Tools::Common, start with xen-create-nfs' readConfigurationFile function 2011-11-16 00:19:20 +01:00
Stéphane Jourdois
0cc3c37d74 Podchecker doesn't like empty paragraphs
So remove them, even if t/pod-check.t doesn't currently checks
for those unused modules.
2010-07-23 13:29:56 +02:00
Axel Beckert
74ec5d698a Fix error "Can't exec "mkdir -p": No such file or directory at lib/Xen/Tools/Log.pm" 2010-07-16 17:42:31 +02:00
steve
a03fc1f245 2007-09-25 20:05:16 by steve
Attempt to fix logfile issues; C.J Adams-Collier.
2007-09-25 20:05:16 +00:00
steve
cf701e4f7d 2007-09-04 20:31:04 by steve
Added our new modular code.
2007-09-04 20:31:04 +00:00