Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a quick guide for setting up the remote (and LXC) spawners #5838

Closed
pevogam opened this issue Dec 22, 2023 · 4 comments
Closed

Add a quick guide for setting up the remote (and LXC) spawners #5838

pevogam opened this issue Dec 22, 2023 · 4 comments

Comments

@pevogam
Copy link
Contributor

pevogam commented Dec 22, 2023

Let's reuse @wsakernel's effort in documenting some crucial steps for a new user of the remote (and LXC) spawners. Instructions are as follows:

First add the slot to your avocado config file:

    [spawner.remote]
    slots = ['board']

Then you need a JSON file of the same name as the slot. Its contents are the command line parameters of the remote_login function of class remote, e.g.:

    {
        "client": "telnet",
        "host": "192.168.64.2",
        "port": "23",
        "username": "root",
        "password": "",
        "prompt": "#"
    }

Final important detail: the remote site also needs avocado installed.

@mr-avocado mr-avocado bot moved this to Triage in Default project Dec 22, 2023
@pevogam
Copy link
Contributor Author

pevogam commented Dec 22, 2023

I am mostly leaving this for the future where we improve some of the new user experience before @wsakernel's output gets lost deep in the comments of a merged pull request.

clebergnu added a commit to clebergnu/avocado that referenced this issue Dec 28, 2023
This Documents some crucial steps for a new user of the remote spawner
plugin.

Reference: avocado-framework#5838
Signed-off-by: Cleber Rosa <[email protected]>
clebergnu added a commit to clebergnu/avocado that referenced this issue Dec 28, 2023
This Documents some crucial steps for a new user of the remote spawner
plugin.

Reference: avocado-framework#5838
Signed-off-by: Cleber Rosa <[email protected]>
@clebergnu
Copy link
Contributor

I am mostly leaving this for the future where we improve some of the new user experience before @wsakernel's output gets lost deep in the comments of a merged pull request.

Thanks for this @pevogam. I've added your text as close to verbatim as possible to #5846

@pevogam
Copy link
Contributor Author

pevogam commented Dec 29, 2023

I actually only meant to keep track of this for now for post-LTS since I did not want to add any additional issues to the respective milestone but thank a lot for adding it!

clebergnu added a commit to clebergnu/avocado that referenced this issue Jan 2, 2024
This Documents some crucial steps for a new user of the remote spawner
plugin.

Reference: avocado-framework#5838
Signed-off-by: Cleber Rosa <[email protected]>
@richtja
Copy link
Contributor

richtja commented Jan 8, 2024

solved in #5846

@richtja richtja closed this as completed Jan 8, 2024
@github-project-automation github-project-automation bot moved this from Triage to Done 104 in Default project Jan 8, 2024
@richtja richtja moved this from Done 104 to Done 103 in Default project Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants