mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-12-01 04:22:16 -05:00
9 lines
259 B
Plaintext
9 lines
259 B
Plaintext
|
if [ -z "$1" ]; then echo "Must supply name"; exit 0; fi
|
||
|
|
||
|
set -x
|
||
|
M_ROOT=`cat requirements/server_root_account`
|
||
|
M_HOST=$1
|
||
|
|
||
|
scp -i requirements/ec2-key.pem enable-sudo.remote $M_ROOT@$M_HOST:
|
||
|
ssh -i requirements/ec2-key.pem $M_ROOT@$M_HOST ./enable-sudo.remote
|