Displaying 2 results from an estimated 2 matches for "boot_from_hd".
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...,7 +576,7 @@ test_stateful_pxe () {
# verify the booting and installation
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateful-pxe.log
spawn sudo virsh console '"${nodename}"'
@@ -608,7 +609,7 @@ exit 3'
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_pre...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...me: ${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; then
+ start_virt_viewer $nodename
+ fi
+}
+
+# $1 - the node name
+# $2 - the old boot de...