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

Metasploit install example issues with rvm #13

Open
fsacer opened this issue Jan 12, 2019 · 0 comments
Open

Metasploit install example issues with rvm #13

fsacer opened this issue Jan 12, 2019 · 0 comments

Comments

@fsacer
Copy link

fsacer commented Jan 12, 2019

Metasploit install script not working with example as user is not root which makes this a single user install according to https://rvm.io/rvm/install this would mean you need to add
echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
for it to source properly and re-source the bash profile or run the bash script as root.

This fails the install with

module.http_c2.azurerm_virtual_machine.http-c2 (remote-exec): /tmp/terraform_1736744011.sh: line 9: rvm: command not found
module.http_c2.azurerm_virtual_machine.http-c2 (remote-exec): /tmp/terraform_1736744011.sh: line 10: gem: command not found
module.http_c2.azurerm_virtual_machine.http-c2 (remote-exec): /tmp/terraform_1736744011.sh: line 11: bundle: command not found

Error: Error applying plan:

1 error(s) occurred:

* module.http_c2.azurerm_virtual_machine.http-c2: error executing "/tmp/terraform_1736744011.sh": Process exited with status 127

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
@fsacer fsacer changed the title metasploit install example issues with rvm Metasploit install example issues with rvm Jan 12, 2019
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

No branches or pull requests

1 participant