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

Fix #474: allow vagrant localhost ssh in vm_devbox #475

Merged
merged 6 commits into from
Apr 2, 2024
Merged

Conversation

e-carlin
Copy link
Member

@e-carlin e-carlin commented Apr 1, 2024

Allow ssh connections from vagrant over localhost in vm_devbox. This allows services like sirepo.job_driver.sbatch to connect over localhost back in to the host via ssh to start a job_agent.

@e-carlin e-carlin requested a review from robnagler April 1, 2024 16:20
@e-carlin
Copy link
Member Author

e-carlin commented Apr 1, 2024

@robnagler you mentioned using unique passwords for vagrant instead of the default. Is that still something you think is necessary? I'll need to test that nothing breaks but I assume we can just set the password for the vagrant user when provisioning the vm.

Also, should we change the root password?

@e-carlin e-carlin force-pushed the 474-devbox-ssh branch 2 times, most recently from dbbbabe to 4bec2d0 Compare April 1, 2024 16:26
Allow ssh connections from vagrant over localhost in vm_devbox.
This allows services like sirepo.job_driver.sbatch to connect
over localhost back in to the host via ssh to start a job_agent.
@robnagler
Copy link
Member

We should delete the password for the vagrant user and root. The user can then set the password when they need it. We should add a quick check on setup of Slurm that tells the user what to do (what env var to set, for example).

rsconf/component/vm_devbox.py Outdated Show resolved Hide resolved
rsconf/package_data/vm_devbox/start.sh.jinja Outdated Show resolved Hide resolved
@e-carlin e-carlin requested a review from robnagler April 1, 2024 23:13
@e-carlin
Copy link
Member Author

e-carlin commented Apr 1, 2024

please review again with the addition of passwd -d

@e-carlin e-carlin marked this pull request as ready for review April 1, 2024 23:15
@e-carlin e-carlin requested a review from robnagler April 2, 2024 15:33
@robnagler robnagler merged commit c688dd1 into master Apr 2, 2024
2 checks passed
@robnagler robnagler deleted the 474-devbox-ssh branch April 2, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants