Axel Beckert
b5175f6f3b
Properly set $FAIL instead of just calling die()
2012-05-08 00:09:09 +02:00
Axel Beckert
7a01a08aa4
Replace tabs with spaces
2012-05-07 23:06:29 +02:00
Axel Beckert
57e6d5d480
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 23:06:21 +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
d8561d4b7d
Preliminary support for Ubuntu 12.10 Quantal Quetzal
2012-04-24 19:51:01 +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
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
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
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
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
Dmitry Nedospasov
638594c9ba
Minor changes to documentation of xen-create-image
2010-09-24 20:00:10 +02:00
Dmitry Nedospasov
650c8d51f6
Alphabetical order
2010-09-24 19:59:45 +02:00
Dmitry Nedospasov
a98f2feb9e
Add note for fs=xfs, sort options alphabetically
2010-09-24 19:41:22 +02:00
Axel Beckert
d200c2ad5f
Update authorship and copyright in bin/* and debian/copyright
2010-09-22 18:18:58 +02:00
Axel Beckert
17f6bd30a1
Switch default mirror for EoL'ed Ubuntu 8.10 (Intrepid) and Debian 4.0 (Etch) to the distributions' archives for old releases
2010-09-21 14:26:42 +02:00
Axel Beckert
8fca20d4d8
Preliminary support for Ubuntu 11.04 (Natty) and Debian 7.0 (Wheezy)
2010-09-21 14:16:58 +02:00
Jorge Armando Medina
5f49bddca5
xen-create-image: allow xvc0 in --serial_device option.
2010-09-21 13:33:49 +02:00
Axel Beckert
e80568ec17
Prepare 4.2 release
2010-09-13 14:46:33 +02:00
Axel Beckert
fd8f94935a
Bump version number to 4.2 RC2 (may become 4.2 "final").
...
Start new debian/changelog entry, mention Dmitry's fix for #484652 .
2010-08-31 00:58:54 +02:00
Dmitry Nedospasov
80d002d8a8
swap-dev or noswap must be set with image-dev
2010-08-31 00:11:00 +02:00
Stéphane Jourdois
8589e0ca80
Add btrfs support.
2010-08-06 15:48:25 +02:00
Axel Beckert
3d43ec184d
Print the output of called commands on --verbose ( Closes : #513126 )
2010-08-05 16:03:58 +02:00
Axel Beckert
e30550a289
Whitespace: tab -> 8 blanks
2010-08-05 16:02:31 +02:00
Axel Beckert
1df7ef41da
xen-delete-image also needs at least one of --evms, --lvm, or --dir.
...
This led to strange error messages from xen-delete-image if an
installation failed because they looked like coming from xen-create-image.
xen-delete-image now explicitly states that the error was on the
deletion of the image. not on its creation. (Closes : #513138 )
2010-08-03 17:19:24 +02:00
Axel Beckert
1ee85ef493
Fixes wrong loop module parameter syntax in warning. ( Closes : #516902 )
2010-08-03 16:45:58 +02:00
Axel Beckert
ab8ee902eb
Properly document that genpass=1 is now default
2010-08-03 16:16:24 +02:00
Axel Beckert
cd258b1c13
Documentation: --debootstrap-cmd: Path is optional
2010-08-03 16:01:16 +02:00
Axel Beckert
73528d94e7
Mounts also /dev/pts automatically before running any hooks or rules
...
Closes Debian bug #588783 .
2010-08-03 15:51:33 +02:00
Axel Beckert
03968fd18c
Allow --install-method=cdebootstrap
...
It's just a shortcut for
--install-method=debootstrap --debootstrap-cmd=cdebootstrap
2010-08-03 15:22:51 +02:00
Axel Beckert
93a70819cf
Next release will be a release candidate
2010-08-03 13:54:58 +02:00
Stéphane Jourdois
389fa94bcb
Move old log files rather than removing them.
2010-07-26 20:24:37 +02:00
Stéphane Jourdois
64c9c8398b
Remove trailing space from make_fs_ options.
...
The "-d name=" option doesn't appear as necessary with mkfs.xfs, at
least with version 3.1.2 of mkfs.xfs (of course, tested with a file
instead of a device).
This simplifies a TODO item.
2010-07-26 19:28:28 +02:00
Stéphane Jourdois
5cd664c6b0
Encrypt root password with sha256 by default.
...
- Use perl crypt with some magic rather than openssl to hash root
password, either generated or provided by user.
- Remove the undocumented dependency on openssl.
- Add a hash_method option to configure the hashing algorithm.
- Permit md5, sha256 and sha512, and use sha256 as default.
- Remove TODO entry about "more random" passwords.
- Remove an ugly system() call.
2010-07-25 22:10:59 +02:00
Stéphane Jourdois
6f0c858a2b
Add validation for ip and mac
...
I forgot those on first pass, sorry.
2010-07-23 13:29:56 +02:00
Dmitry Nedospasov
1aeb23823c
Fix hostname regex check
...
Set a minimal length so that the check doesn't fail
2010-07-18 19:52:29 +02:00
Stéphane Jourdois
0e16a65d80
Validate option arguments
...
Also provide a default value for serial_device and disk_device.
Remove corresponding TODO entry.
Note: as shown by this patch, some needed fixes remain. Some options
take yes/no, some 0/1, etc.
2010-07-18 18:37: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