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
Axel Beckert
b7c1cd9d8a
xen-resize-guest: Don't read config file if it doesn't exist as xen-create-image does
2010-07-16 17:30:08 +02:00
Stéphane Jourdois
05def34ca4
Get extension from command line and not from environment
...
This helps t/xt-create-xen-config to pass.
2010-07-16 16:48:51 +02:00
Axel Beckert
82fae6a5bc
Consistent code style for hash value accesses
2010-07-16 16:48:25 +02:00
Stéphane Jourdois
9e738bfb5f
Test variable before use
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
14846e85fd
Use rmtree not rmdir
...
rmdir does not remove dir when not empty. Use rmtree for that.
makes t/xen-delete-image test pass.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
fabb5df2e6
Typo
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
bf9c56d42c
Remove trailing whitespace
...
Makes t/test-trailing-whitespace.t pass
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
ddb999d952
Remove trailing spaces
...
This helps t/pod-check.t to pass on this file.
2010-07-16 16:27:42 +02:00
Stéphane Jourdois
bd840ba071
Replace tabs with spaces
...
This makes t/no-tabs.t pass.
I'm responsible for some tabs in previous patches, so this
fixes mine also :)
Note that I find this test silly, but "dura lex, sed lex"...
2010-07-16 16:27:42 +02:00
Axel Beckert
baf965da09
Stay backwards compatible and still allow -s and -m
2010-07-15 18:50:02 +02:00
Axel Beckert
b898cdb064
Merge commit '9e43d6a'
2010-07-15 18:47:16 +02:00
Axel Beckert
d1a653f565
Merge commit 'd36672f'
2010-07-15 18:20:10 +02:00
Axel Beckert
9f517cb4c3
Re-add --genpass-len for backwards compatibility
2010-07-15 18:18:52 +02:00
Axel Beckert
f115c3db60
Merge commit '0f751d1'
2010-07-15 18:17:32 +02:00
Axel Beckert
e6f57bdebe
Re-add --no-hosts and --copy-hosts for backwards compatibility and declare them deprecated
2010-07-15 18:14:16 +02:00