Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Metasploit install rvm issues #9

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

Metasploit install rvm issues #9

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant