Skip to content

devel: remove fix_ssh target #135

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

Merged
merged 1 commit into from
Mar 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions devel/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
INVENTORY := ./inventory

fix_ssh:
@ansible-playbook -i ${INVENTORY} fix_ssh.yml

centos8_build_setup:
@ansible-playbook -i ${INVENTORY} centos8_build_setup.yml

Expand Down
3 changes: 0 additions & 3 deletions devel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ This folder contains ansible playbooks which are useful when manual access to th

The Makefile targets are as follows

##fix_ssh:
Fix the ssh on the test machines so that you can directly ssh into them. Before you can use this target, you will need to create authorized_keys file in the directory which will be copied to /root/.ssh/authorized_keys on the test machine.

##centos8_build_setup:
Install the required packages needed to setup a samba build environment on the storage* hosts. This is useful when instrumenting samba on these machines to check for a root cause for test failures

66 changes: 0 additions & 66 deletions devel/fix_ssh.yml

This file was deleted.

12 changes: 12 additions & 0 deletions docs/Fedora-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,15 @@ $ cd sit-environment/
$ make clean
```
This clears up all the vms and temporary files created by the tool and the system is ready for a rebuild

To setup the host system to allow direct ssh into the test vms, edit ~/.ssh/config and add the following line
```
Include /path/to/sit-environment/playbooks/ansible/ssh_config
```
Change the path to your own instance of the sit-environment repo. You should now be able to directly ssh into the test systems.
eg: client0
```
$ ssh client0
Last login: Fri Mar 28 12:57:45 2025 from 192.168.121.1
[root@client0 ~]#
```
Loading