
Current patch fixes shell issues in LBaaS apps reported by test run: tox -e shellcheck All LB related scripts were fixed according command output. Change-Id: Ia24f2ba25d7818cb05d064a9fc7f5f4617f714d8
14 lines
271 B
Bash
Executable File
14 lines
271 B
Bash
Executable File
#!/bin/bash
|
|
|
|
host=$1
|
|
pem_file=$2
|
|
pkey_path=$3
|
|
|
|
echo "$host"
|
|
echo "$pem_file"
|
|
echo "$pkey_path"
|
|
|
|
scp -o StrictHostKeyChecking=no -i "$pkey_path" "$pem_file" "ec2-user@$host:~/"
|
|
|
|
ssh -o StrictHostKeyChecking=no -i "$pkey_path" "ec2-user@$host" "sudo mv ~/cf.pem /etc/ssl/"
|