=== modified file 'lava_dispatcher/client/master.py'
@@ -294,6 +294,9 @@
def __init__(self, context, config):
super(LavaMasterImageClient, self).__init__(context, config)
+ pre_connect = self.device_option("pre_connect_command")
+ if pre_connect:
+ logging_system(pre_connect)
cmd = self.device_option("connection_command")
proc = logging_spawn(cmd, timeout=1200)
proc.logfile_read = self.sio
=== modified file 'lava_dispatcher/default-config/lava-dispatcher/device-defaults.conf'
@@ -14,6 +14,8 @@
connection_command = conmux-console %(hostname)s
+pre_connect_command =
+
# The bootloader commands to boot the device into the test image (we
# assume that the device boots into the master image without bootloader
# intervention).