aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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