search for: hdsize

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

Did you mean: hdrsize
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...ktemp) + local nodefile=$WORKDIR/$nodename.xml if [ -z "${boot_device}" ]; then boot_device="hd"; fi if [ -z "${memory}" ]; then memory="524288"; fi @@ -375,7 +376,7 @@ configure_node () { # create the hard disk file if [ -n "${hdsize}" ]; then - hdfile=$(mktemp) + hdfile=$WORKDIR/$nodename-hd.img create_hard_disk $hdfile $hdsize fi @@ -457,7 +458,7 @@ substitute_boot_device () { local nodename=$1 local old_device=$2 local new_device=$3 - local new_node_file=$(mktemp) + loc...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
..."hd") +# $3 - the memory size in kb (def. 524288) +# $4 - hard disk size (if blank then no hard disk) +# $5 - the cd drive image file (if blank then no cd drive) +# $6 - option arguments +configure_node () { + local nodename=$1 + local boot_device=$2 + local memory=$3 + local hdsize=$4 + local hdfile="" + local cdfile=$5 + local args=$6 + local nodefile=$WORKDIR/$nodename.xml + + if [ -z "${boot_device}" ]; then boot_device="hd"; fi + if [ -z "${memory}" ]; then memory="524288"; fi + + debug "configure...