Last active
April 23, 2019 14:30
-
-
Save ImaginaryDevelopment/a47d87c13cfecb3f0af13dadf283a193 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
| #probably have to hand-type this script | |
| echo "set clipboard to bidirectional and insert guest additions cdrom" | |
| su - -c "apt-get install sudo curl openssh-server & adduser bdimpe sudo" | |
| su - -c systemctl enable ssh | |
| echo "now you can ssh into this box at :" | |
| ip addr show | grep inet | |
| sudo -i curl -Lo vbox_setup_1.sh https://gist.github.com/ImaginaryDevelopment/30959f86125160e4859856ccfdf98ca0/raw/e80fe50f7461ba0b9801372a6e0526da5f40372b/vbox_setup_1.sh | |
| sudo -i chmod +x vbox_setup_1.sh | |
| sudo -i ./vbox_setup_1.sh | |
| #sudo bash <(curl -Lo vbox_setup_1.sh https://gist.github.com/ImaginaryDevelopment/a47d87c13cfecb3f0af13dadf283a193/raw/4a557ef91e7f98be7a916fa578757eb4c9cbb1ca/vbox_setup_1.sh) | |
| #su - -c "chmod +x vbox_setup_1.sh" | |
| curl -Lo vbox_setup_2.sh https://gist.github.com/ImaginaryDevelopment/a47d87c13cfecb3f0af13dadf283a193/raw/fd5beee47af44f71ce8b5e71881c0ff337b6c4a2/vbox_setup_2.sh | |
| chmod +x vbox_setup_2.sh | |
| su - -c "./vbox_setup_1.sh" | |
| #probably won't run due to shutdown command in 1 | |
| ./vbox_setup_2.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment