mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Update
This commit is contained in:
7
bench/remote.sh
Executable file
7
bench/remote.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
sshpass -p 'sifive' scp bench-gcc hifiveu:/mnt/home/runner/cs420-final/bench-gcc
|
||||
sshpass -p 'sifive' ssh hifiveu /usr/sbin/chroot /mnt "chown runner:runner /home/runner/cs420-final/bench-gcc"
|
||||
sshpass -p 'sifive' ssh hifiveu /usr/sbin/chroot /mnt /bin/su - runner -c "/home/runner/cs420-final/bench-gcc"
|
||||
Reference in New Issue
Block a user