search for: define_node

Displaying 2 results from an estimated 2 matches for "define_node".

2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...ermine which emulator to use. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- autotest.sh | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/autotest.sh b/autotest.sh index c9f8a2d..96a15b5 100755 --- a/autotest.sh +++ b/autotest.sh @@ -270,7 +270,6 @@ define_node () { # flexible options # define defaults, then allow the caller to override them as needed local arch=$(uname -i) - local emulator=$(which qemu-kvm) local serial="true" local vncport="-1" local bootdev='hd' @@ -281,7 +280,7 @@ define_nod...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...to write the xml +# $2 - the node name +# $3 - memory size (in kb) +# $4 - boot device +# $5 - the local hard disk (if blank then no disk is used) +# $6 - the cdrom disk (if blank then no cdrom is used) +# $7 - the network bridge (if blank then 'default' is used) +# $8 - optional arguments +define_node () { + local filename=$1 + local nodename=$2 + local memory=$3 + local boot_device=$4 + local harddrive=$5 + local cddrive=$6 + local bridge=${7-default} + local options=${8-} + local result="" + + # flexible options + # define defaults, then allow the cal...