]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Add boot_command
authorKarel Kočí <cynerd@email.cz>
Tue, 28 Jul 2015 21:04:56 +0000 (23:04 +0200)
committerKarel Kočí <cynerd@email.cz>
Wed, 12 Aug 2015 08:22:55 +0000 (10:22 +0200)
boot_script [new file with mode: 0755]
conf.py

diff --git a/boot_script b/boot_script
new file mode 100755 (executable)
index 0000000..fca00c1
--- /dev/null
@@ -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 9dc2a72c487f712eba8d183d9cb2bd7cfc03d2a5..2e50189da37d91c3ddb0e6cecb6c097bbd9603f5 100644 (file)
--- 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