Dmitry Nedospasov
fa51b092af
Merge branch 'master' of git@gitorious.org:xen-tools/xen-tools
2010-06-02 16:44:53 +02:00
Dmitry Nedospasov
f356b6065c
Added cachedir option for manually setting a cache directory
...
This way .debs actually get copied somewhere on non
Debian/Ubuntu systems, and also this way the cache directory
can be overriden, so that the host's apt-cache doesn't get
cluttered with guest .debs.
2010-06-02 16:43:48 +02:00
Axel Beckert
03ca47b988
Merge branch 'master' of gitorious.org:xen-tools/xen-tools
2010-06-02 16:24:54 +02:00
Axel Beckert
c3eb1fef9e
Escape single quote to help syntax highlighting in HERE document
2010-06-02 16:24:48 +02:00
Dmitry Nedospasov
04acc115ab
Create .deb cache directory on systems lacking one
...
This patch creates a cache directory on systems which do
not have a /var/cache/apt/archives/ directory. Currently
it creates a /var/cache/xen-tools/archives/ directory,
however this can easily be set to a variable which is
parsed from the configuration file.
2010-06-02 15:32:27 +02:00
Axel Beckert
3fd6e4c941
xt-install-image: New helper function checkForCommonFilesInChroot
...
Don't fail on missing /bin/ls or /bin/cp, it could be on purpose
2010-05-31 14:24:26 +02:00
Axel Beckert
d9a26c8c69
Remove some more install-server cruft
2010-05-31 12:41:13 +02:00
Dmitry Nedospasov
0c4fbc1e18
Check for text::Template before any other checks
...
The text::Template check should be the first check, since
otherwise some options are parsed incorrectly leading to
errors like The system is missing the common file: /bin/ls
2010-05-31 11:29:53 +02:00
Axel Beckert
156c18e79c
Declare current state as Beta instead of Release Candidate
2010-05-30 19:54:26 +02:00
Axel Beckert
78e134ea95
xen-update-image: Reformat source code comment to fit into 80 columns
2010-05-26 23:33:31 +02:00
Axel Beckert
e169ca95a7
Fix cut & paste error in error message: wrong directory mentioned
2010-05-26 22:38:05 +02:00
Axel Beckert
15b8ece37a
Implement --dry-run for xen-delete-image
2010-05-26 22:19:55 +02:00
Axel Beckert
e16af7679b
Fix spelling error: arbitary -> arbitrary
2010-05-26 22:11:47 +02:00
Axel Beckert
ff2867f732
Document the udev role.
2010-05-26 21:30:36 +02:00
Axel Beckert
03532c16a6
Document the tmpfs role.
2010-05-26 21:28:27 +02:00
Axel Beckert
a0fb2e22b0
Document the puppet role.
2010-05-26 21:21:48 +02:00
Axel Beckert
f7316431a0
Document the editor (sed) role.
...
Also fix a typo in roles/editor
2010-05-26 21:19:13 +02:00
Axel Beckert
d575169b42
Document the cfengine role, add cfengine to debian/control:Suggests.
...
Also fix some documentation bugs in roles/cfengine
2010-05-26 21:13:36 +02:00
Axel Beckert
b452461473
xen-create-image(1): Don't talk aber Sarge and Etch, talk about Debian Stable, so we won't have to change to docs with every new Debian release. ;-)
2010-05-26 21:03:09 +02:00
Axel Beckert
95a83dc5b9
Check for debootstrap and cdebootstrap installation, decide default based on that
2010-05-23 23:14:25 +02:00
Axel Beckert
b55d27c290
Add option --debootstrap-cmd to xen-create-image and xt-install-image
2010-05-23 23:02:48 +02:00
Dmitry Nedospasov
c03029e0c6
Added support for (optionally) setting the bridge
...
--bridge
Added support for setting the number of vcpus
--vcpus
2010-05-19 13:46:58 +02:00
Axel Beckert
fcf98e6799
Remove image-server installation method
...
Was used by Steve with a "semi-proprietary" service at some hoster
which does no more use it (with Xen). According to Steve nobody else
used it so we can rip out this unneeded legacy code.
This also reverts the last commit.
2010-05-18 17:24:41 +02:00
Axel Beckert
838303a939
Fix typo in error message: s/LDP/LWP/
2010-05-18 14:10:05 +02:00
Axel Beckert
120ca27f6d
List all possible install-methods close to the option itself
2010-05-18 14:09:40 +02:00
Axel Beckert
0d71124eb1
Add pointer to /etc/xen-tools/partitions.d/sample-server as partitioning example.
...
(Thanks to Antoine Benkemoun for pointing out that such a hint is missing!)
2010-05-17 22:54:41 +02:00
Axel Beckert
e556ebdbf6
Use old-releases.ubuntu.com as default mirror for Edgy, Feisty and Gutsy; add default mirror for Dapper
2010-05-17 20:02:18 +02:00
Axel Beckert
ae22845718
Add documentation for commit af19678
2010-05-17 03:39:42 +02:00
Axel Beckert
97c1bb0637
Document changes introduced by 5b420f4 in POD
2010-05-17 03:30:15 +02:00
Nathan O'Sullivan
5b420f4cc6
Change role argument to allow supplying a full pathname to a file outside of roledir
2010-05-17 03:27:08 +02:00
Nathan O'Sullivan
0273892441
Allow disk_device and serial_device to be overridden on the command line
2010-05-17 03:25:13 +02:00
Axel Beckert
c6cb25edf9
Fix cut & paste error in description of do_rinse
2010-05-17 03:07:29 +02:00
Axel Beckert
cea763b669
Let --mirror overrule per-distro mirror defaults
...
Previously the --mirror value was ignored if a default mirror for the
--dist value has been defined.
Now the --mirror value is by default unset and filled with the
per-distro default mirror in that case.
2010-05-17 02:52:19 +02:00
Axel Beckert
98514d3fc2
Remove redundant default mirror setting
2010-05-17 02:51:39 +02:00
Axel Beckert
8df98d4198
Save the exit code of a command, but also allow its output to be saved to the log as it happens
2010-05-17 02:16:44 +02:00
Axel Beckert
7a3ab22439
Split helper functions logprint into logprint and logonly
2010-05-17 02:09:47 +02:00
Axel Beckert
546a1441a9
Fix some typos in code comments
2010-05-17 01:15:33 +02:00
Axel Beckert
fc973602e5
Correctly propagate failing hooks back to xen-create-image
2010-05-17 01:13:26 +02:00
Axel Beckert
e3444880a6
Fix syntax error in detection of pygrub needing Ubuntu releases
2010-05-16 01:31:51 +02:00
Axel Beckert
b427cf74b2
Different default mirror for Sarge amd64 necessary
2010-05-16 01:31:06 +02:00
Axel Beckert
bbcfa3ad82
Use regexp to catch potential lucid derivatives as well as maverick
2010-05-16 01:10:50 +02:00
Axel Beckert
1b3f0539b9
Always use pygrub if installig Lucid, doesn't work without
2010-05-16 01:04:17 +02:00
Axel Beckert
49cf467f49
Document the --pygrub option
2010-05-16 00:07:41 +02:00
Axel Beckert
c223b0f8c6
Use ftp.debian.org instead of ftp.us.debian.org as default Debian mirror
...
Rationale:
ftp.us.debian.org is a DNS Round Robin for five IPv4-only hosts in the US.
ftp.debian.org is only a single host (kassia in .nl), but also
reachable via IPv6 and connected to GEANT, i.e. most European
universities don't have to pay for traffic with ftp.debian.org.
2010-05-15 18:30:02 +02:00
Axel Beckert
c9023d73fd
xen-create-image: Also output (often automatically determined) mirror
2010-05-15 18:24:50 +02:00
Axel Beckert
591f23157a
Default mirror for Sarge (and soon Etch, too) is archive.debian.org
2010-05-15 18:23:53 +02:00
Axel Beckert
49d01d9a76
Use hvc0 and xvda devices by default, add --scsi option for sda names
2010-05-15 16:04:17 +02:00
Axel Beckert
9210c6c8be
Rudimentarily support Ubuntu Maverick Meerkat (10.10)
2010-05-15 01:29:17 +02:00
Axel Beckert
20b17ea5e1
Implement separate default mirrors for Debian and Ubuntu
2010-05-15 01:17:35 +02:00
Axel Beckert
a9aa524bea
Install 'stable' instead of 'leny' by default
2010-05-15 01:08:19 +02:00