Skip to content
Commit 2513cee2 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa.target: Add hooks

FEATURE

Add lisa.target.Target(hooks={'post-connect': ['echo hello', 'echo
world']}, ...) parameter. This allows running custom commands on the
target after connection, which can be useful to do custom setup on some
devices such as disabling SE Linux.

The commands can be added in target_conf.yml as follows:

target-conf:
    hooks:
        post-connect:
            - echo hello
            - echo world
parent 576e6f67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment