Skip to content

Interactive Scripts with "read" #1

@scoopex

Description

@scoopex

Create a Snippet like this

set -x
echo "---"
read -p "NA " ASK
echo $ASK

Execute it with:

hostctl -r /path/to/my/snippet -n host

Execution stops on reaching "read.
Seems to be related to piping commands to a remote "bash -s" session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions