1
0
mirror of synced 2026-01-23 10:38:15 +00:00

489 Commits

Author SHA1 Message Date
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
ed91f1fc43 Merge branch 'master' into code-deduplication
Conflicts:
	bin/xen-create-image
2012-05-31 01:07:59 +02:00
Axel Beckert
6e0bfb9658 Update copyright years at several places 2012-05-30 23:57:56 +02:00
Axel Beckert
9a0c6fa724 Fix some tab characters 2012-05-30 23:44:18 +02:00
Axel Beckert
e727fbbbbd Test for $CONFIG{dontformat} just once 2012-05-30 23:41:37 +02:00
Pieter Barrezeele
f18cda8796 Add --dontformat to skip filesystem creation 2012-05-30 23:37:09 +02:00
Pieter Barrezeele
ef465d9879 Add --finalrole to run role scripts after config file creation 2012-05-30 23:34:04 +02:00
Pieter Barrezeele
9320ba661d Don't verify the availability of lvm tools unless lvm is used 2012-05-30 23:30:13 +02:00
Axel Beckert
6018925b97 No more expect at least one option to mkfs.* calls.
Fixes btrfs creation. Closes Debian bug report #609982.
2012-05-30 23:03:12 +02:00
Axel Beckert
6a6d3876f6 Use $ENV{http_proxy} instead of prepending the command with a variable 2012-05-08 00:58:56 +02:00
Axel Beckert
9c90c93bc9 Merge commit 'refs/merge-requests/2' of git://gitorious.org/xen-tools/xen-tools into merge-requests/2 2012-05-08 00:30:36 +02:00
Axel Beckert
fcb6b0645c Properly set $FAIL instead of just calling die() 2012-05-07 23:46:59 +02:00
Axel Beckert
4d98232656 Replace tabs with spaces 2012-05-07 22:56:33 +02:00
Axel Beckert
1b4edee2d3 Use $ips instead of $IP_ADDRESSES to keep variable names consistent
Update t/xt-create-xen-config.t to cope with the new variable
2012-05-07 22:55:33 +02:00
Axel Beckert
6fe6f5b09f Merge branch '4.2' 2012-05-07 22:23:05 +02:00
Axel Beckert
3e44a19a66 xt-guess-suite-and-mirror exits with non-zero if no proper mirror could be found 2012-05-07 21:42:03 +02:00
Axel Beckert
a9aea889d8 Support sources.list.d (i.e. when no sources.list exists; closes #650300) 2012-05-07 21:33:40 +02:00
Brian Bennett
89e9a54b06 Fix misbehaviour if the --ip option is passed multiple times
According to xen-create-image(8) if --ip is passed multipe times then the
first IP is used as the "system" IP and the rest are used as aliases. What
actually happened is the last IP is the "system" IP and all other IP's are
silently ignored. (Closes Debian bug #652110)
2012-05-07 21:18:36 +02:00
Axel Beckert
caca5395f9 Merge branch '4.2' 2012-04-24 19:51:11 +02:00
Axel Beckert
d8561d4b7d Preliminary support for Ubuntu 12.10 Quantal Quetzal 2012-04-24 19:51:01 +02:00
Axel Beckert
0d813d01c8 Merge branch '4.2'
Conflicts:
	debian/changelog
2012-03-30 17:24:06 +02:00
Axel Beckert
09179f2dea Support Ubuntu 12.04 LTS Precise, update mirrors for discontinued releases 2012-03-30 17:22:59 +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
eabb327786 Remove all occurrences of 'sub readConfigurationFile' in bin/.
Use the version from Xen::Tools::Common instead
2011-11-16 00:55:12 +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
Axel Beckert
9a96686953 Merge branch '4.2'
Conflicts:
	debian/changelog
2011-11-15 23:46:45 +01:00
Axel Beckert
0d1bc0e61c Workaround for missing unit parsing in xen-create-nfs (Closes: #648814) 2011-11-15 23:45:35 +01:00
Axel Beckert
1725e269cf Fix wildcard vs regexp in memory configuration parsing. 2011-11-15 22:33:15 +01:00
Axel Beckert
5cf85fa261 Merge branch '4.2' 2011-09-13 17:23:27 +02:00
Axel Beckert
e9f968c322 More stuff necessary for Ubuntu Oneiric support 2011-09-13 17:23:18 +02:00
Axel Beckert
7dd416a57a Document valid values for serialDev and diskDev more precise 2011-04-19 23:16:20 +02:00
Axel Beckert
e4ca843da9 Document valid values for serialDev and diskDev more precise 2011-04-19 23:14:52 +02:00
Dmitry Nedospasov
31ce92ed7a Minor fix: disk_device check 2011-04-19 23:04:27 +02:00
Stéphane Jourdois
f993b86060 Temporary fix for disk device checks
The check for disk devices was completly broken, fix it temporarily.

This check is also kinda wrong, but is still an improvement over the
current test, so submit it waiting for a better idea.
2011-04-19 23:04:13 +02:00
Dmitry Nedospasov
caabc40e3f Minor fix: disk_device check 2011-04-18 22:55:00 +02:00
Alex Tomlins
accbe9e4e7 Allow specifying apt_proxy on the commandline. 2011-03-31 11:35:14 +01:00
Alex Tomlins
47c146e173 Added apt_proxy option to make debootstrap use a proxy. 2011-03-31 09:30:44 +01:00
Axel Beckert
5aad123429 Merge changes in 4.2 branch back into master branch 2011-03-17 03:05:13 +01:00
Axel Beckert
d61d55baef Bump version to 4.2.1+dev for now 2011-03-17 02:59:28 +01:00
Axel Beckert
870ec1adac Call it a release (4.2.1) 2011-03-17 01:23:55 +01:00
Axel Beckert
8bd3206eff Unmount /proc and /dev/pts just before unmounting the disk image (Closes: #588783) 2011-03-17 01:23:15 +01:00
Axel Beckert
5bace3a7e2 Add new commandline option syntax check ipv4_or_auto (Closes: #611407) 2011-03-17 01:23:15 +01:00
Axel Beckert
cf9b356e6d tab -> 8 blanks 2011-03-17 01:23:15 +01:00
Axel Beckert
0ba1ec6f55 Fix sarge amd64 mirror URL (it's now on archive.debian.org, too) 2011-03-17 01:23:14 +01:00
Guillaume Pernot
bfc8051b10 Fix installation of Sarge i386 on amd64 host (Closes: #611397) 2011-03-17 01:23:14 +01:00
Axel Beckert
7584bac380 Bump version to 4.2+dev for now, not sure if there will be a 4.2.1 or 4.3 next, maybe both 2011-03-17 01:23:13 +01:00
Axel Beckert
09a6adce29 Unmount /proc and /dev/pts just before unmounting the disk image (Closes: #588783) 2011-03-09 00:56:14 +01:00
Axel Beckert
96e9e45d0d Add new commandline option syntax check ipv4_or_auto (Closes: #611407) 2011-03-09 00:11:58 +01:00