mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
rather than -a. The former shortcuts at the script level, whereas the latter does not, which means that the backtick-enclosed arguments are evaluated regardless of the success of preceding tests. Tidy the aforementioned test into a function of its own. Add an implementation of usleep for those systems that only have sleep (Debian, for example). Signed-off-by: Ewan Mellor <ewan@xensource.com>
Xen Control Tools - Examples
===================================
This directory contains example scripts and configurations for Xen.
For many operations you will either be able to use these scripts directly, or
incorporate code from them into your own scripts.
If you write a useful script and would like to share it, please do
send it (preferably with a little summary to go in this file) to
<xen-devel@lists.sourceforge.net> so we can add it to this directory.
block-enbd - binds/unbinds network block devices
block-file - binds/unbinds file to loopback device
mem-map.sxp - memory map xend configuration file.
network - default network setup script called by xend at startup.
network-route - default xen network start/stop script.
network-nat - default xen network start/stop script when using NAT.
vif-bridge - default virtual network interface setup script.
vif-route - default xen virtual network start/stop script
vif-nat - configures vif in routed-nat mode.
xend-config.sxp - default xend configuration file.
xmexample1 - example configuration script for 'xm create'.
xmexample2 - a more complex configuration script for 'xm create'.
xmexample3 - an advanced configuration script for 'xm create'
that utilizes the vmid.
xmexample.vmx - a configuration script for creating a vmx domain with
'xm create'.