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

setup_fabsim needs to be clarified #115

Closed
djgroen opened this issue Jun 7, 2019 · 2 comments
Closed

setup_fabsim needs to be clarified #115

djgroen opened this issue Jun 7, 2019 · 2 comments

Comments

@djgroen
Copy link
Owner

djgroen commented Jun 7, 2019

"Fabsim wouldn't install because of an issue with ssh-ing from the local host back to itself. I had to install it on a lab computer instead."

@djgroen djgroen self-assigned this Jun 7, 2019
@djgroen
Copy link
Owner Author

djgroen commented Jun 7, 2019

I now clarified the setup_fabsim command. It outputs as follows:

derek@vecma01:~/Codes/FabSim3/base$ fab localhost setup_fabsim
MODULE COMMANDS:  []
{'all': [], 'dummy': []}
MODULE COMMANDS:  []
[derek@localhost] Executing task 'setup_fabsim'
To set up your SSH keys, you will be logged in to your local machine once using SSH. You may be asked to provide your password once to facilitate this login.
local id_rsa key already exists.
[localhost] local: ssh-copy-id -i ~/.ssh/id_rsa.pub derek@localhost 2>ssh_copy_id.log
derek@localhost's password: 

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'derek@localhost'"
and check to make sure that only the key(s) you wanted were added.

[derek@localhost] run: mkdir -p /home/derek/FabSim3/config_files; mkdir -p /home/derek/FabSim3/results; mkdir -p /home/derek/FabSim3/scripts
[localhost] local: mkdir -p /home/derek/Codes/FabSim3/plugins
[localhost] local: rm -rf /home/derek/Codes/FabSim3/plugins/FabDummy
[localhost] local: git clone https://github.com/djgroen/FabDummy.git /home/derek/Codes/FabSim3/plugins/FabDummy
Cloning into '/home/derek/Codes/FabSim3/plugins/FabDummy'...
remote: Enumerating objects: 97, done.
remote: Total 97 (delta 0), reused 0 (delta 0), pack-reused 97
Unpacking objects: 100% (97/97), done.

Done.
Disconnecting from localhost... done.

@djgroen
Copy link
Owner Author

djgroen commented Jun 7, 2019

...and while I was at it, I disabled the weird "MODULE COMMANDS" output as well.

(garbage from an earlier debug session)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant