diff --git a/src/aws/up.sh b/src/aws/up.sh index a8ed763..e31d8ec 100644 --- a/src/aws/up.sh +++ b/src/aws/up.sh @@ -158,6 +158,7 @@ function up { echo "Success to add ssh key: $importedKeyName" else echo "The key pair $keyname already exists. Please use another key name." + importedKeyName=$keyname fi if ! checkSecurityGroup; then