Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !#/bin/bash
- echo "Which gitlab registry image to download?(default: xxxx.gitlab.com/xxxx)"
- read -p 'Image Name: ' imagename
- imagename=${imagename:-default-value:master}
- echo "Enter registry image name?(xxxxx:latest)"
- read -p 'New image name?' newimagename
- newimagename=${newimagename:-defaultvalue:latest}
- #sshpass -p xxxxx scp -l 8192 -P 2020 ~/auto-pass-tmp.tgz xxx@xxxxx:~/xxxx/auto-pass-tmp.tgz
- #sshpass -p xxxxx ssh -P 2222 -t -oStrictHostKeyChecking=no "xxx@xx.xx.xx" <<EOF
- # 'command1'
- # 'commmand2'
- #EOF
Add Comment
Please, Sign In to add comment