Displaying 3 results from an estimated 3 matches for "show_view".
Did you mean:
showview
2009 Jul 21
2
[PATCH node-image] Adds a preserve option for autotest VMs.
...@@ setup_for_testing () {
NODE_ADDRESS=$NETWORK.100
debug "NODE_ADDRESS=${NODE_ADDRESS}"
DNSMASQ_PID=0
+ debug "preserve_vm=${preserve_vm}"
}
# cleans up any loose ends
@@ -691,12 +698,14 @@ debugging=false
isofile="${PWD}/ovirt-node-image.iso"
show_viewer=false
vm_prefix="$$"
+preserve_vm=false
-while getopts di:n:vwh c; do
+while getopts di:n:pvwh c; do
case $c in
d) debugging=true;;
i) isofile=($OPTARG);;
n) tests=($OPTARG);;
+ p) preserve_vm=true;;
v) set -v;;
w) show_viewer=true;;...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...39;
boot_from_hd "${nodename}"
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file stateful-pxe.log
send_log "Restarted node, booting from hard disk.\n"
@@ -704,13 +705,15 @@ isofile="${PWD}/ovirt-node-image.iso"
show_viewer=false
vm_prefix="$$"
preserve_vm=false
+timeout_period="120"
-while getopts di:n:pvwh c; do
+while getopts di:n:pt:vwh c; do
case $c in
d) debugging=true;;
i) isofile=($OPTARG);;
n) tests=($OPTARG);;
- p) preserve_vm=true;;
+ p) prese...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...with_pxe ()"
+ debug "- workdir: ${workdir}"
+ debug "- nodename: ${nodename}"
+ debug "- kernel_args: ${kernel_args}"
+
+ setup_pxeboot $workdir "${kernel_args}"
+
+ sudo virsh start $nodename > /dev/null 2>&1
+ if $show_viewer; then
+ start_virt_viewer $nodename
+ fi
+}
+
+# $1 - the node's name
+boot_from_hd () {
+ local nodename=$1
+
+ debug "boot_from_hd ()"
+ debug "::nodename: ${nodename}"
+
+ sudo virsh start $nodename > /dev/null 2>&1
+ if $show_viewer;...