Skip to content
Commit 5e9793d4 authored by Douglas Raillard's avatar Douglas Raillard Committed by project_444_bot_b970213545be4e6c0185c64ae9fc5226
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 9e8f3a31
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