Created
June 14, 2017 12:29
-
-
Save anonymous/70e115c735c43defc6586573f8a1e03f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system(VBOXMANAGE, 'guestcontrol', vm_name, '--username', remote_user, '--password', remote_password, 'run', '/usr/bin/sudo', '/bin/sh', '--', '-c', "echo \"127.0.0.1\t#{vm_name}\n\" >> /etc/hosts" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment