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)
This is the official way, needs no own parsing (therefore less
fault-prone) and shorter. Also fixes Debian bug #560011 -- the manual
parsing did not catch all syntax variants.
Also add some comments before /etc/apt/sources.list generation in the
Ubuntu hooks.
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.
- 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.
This tests helps to maintain .gitignore up to date, by :
- testing if all ignored files have to be ignored, and
- testing if all untracked files are ignored.
[ Note : second version ]
Make test work on older git versions
I.e. the git version used on Debian stable.
- Ignore all dotfiles but .gitignore and .hgignore files
- Provide a way to test this file in header
- ChangeLog and debian-files are generated at root
- Ignore patches and orig files
This was broken by a previous patch, the if statement looked for
a foler that doesn't exist on karmic, but did on prior release,
since ttys are no longer in /etc/event.d, but instead in /etc/init
/etc/event.d -> /etc/init
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.
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.