Adding function for Vagrant

pull/991/head
Rod Treweek 2017-06-28 16:10:17 -07:00
parent 0a49d9bfe5
commit 3218f2799e
No known key found for this signature in database
GPG Key ID: F3826FFDBFEAFCEB
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# Simple function for vagrant ssh that immediately switches to root.
function vssh() {
vagrant ssh $1 -- -t 'sudo su -; /bin/bash'
}