aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-07-28 23:04:56 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 10:22:55 +0200
commitddff40a36eabf3c08d9007535eab8549de2f58ad (patch)
tree92be0065ca6d3c50d9e1233b4c321a9dc6f913a4
parentaeb12d666ba659cfba033e950d40053a73028db4 (diff)
downloadlinux-conf-perf-ddff40a36eabf3c08d9007535eab8549de2f58ad.tar.gz
linux-conf-perf-ddff40a36eabf3c08d9007535eab8549de2f58ad.tar.bz2
linux-conf-perf-ddff40a36eabf3c08d9007535eab8549de2f58ad.zip
Add boot_command
-rwxr-xr-xboot_script7
-rw-r--r--conf.py2
2 files changed, 8 insertions, 1 deletions
diff --git a/boot_script b/boot_script
new file mode 100755
index 0000000..fca00c1
--- /dev/null
+++ b/boot_script
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Wake target
+sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46
+
+# Boot using novaboot
+novaboot scripts/nbscript
diff --git a/conf.py b/conf.py
index 9dc2a72..2e50189 100644
--- a/conf.py
+++ b/conf.py
@@ -25,7 +25,7 @@ novaboot_args = ['--qemu=qemu-system-x86_64']
nbscript = 'scripts/nbscript'
# boot_command
# Command executed for booting. Output of this command is saved to output folder.
-boot_command = ['novaboot', 'scripts/nbscript']
+boot_command = ['./boot_script']
# parse_command
# Command to parse double value from boot output