From ddff40a36eabf3c08d9007535eab8549de2f58ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 23:04:56 +0200 Subject: Add boot_command --- boot_script | 7 +++++++ conf.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 boot_script 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 -- cgit v1.2.3