Commits

Eric Dowd  committed c20c3eb

Give status when deleting keypair

  • Participants
  • Parent commits 48eb3e7

Comments (0)

Files changed (1)

File build_gentoo.sh

     ec2-terminate-instances --region $region $instance $gentoo_instance
     echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: instances terminated"
     if [ $remove_keypair = "true" ]; then
+        echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: deleting keypair"
         ec2-delete-keypair --region $region $key
         rm $keyfile
+        echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: keypair deleted"
     fi
     echo "$building $start_time - `date +%Y-%m-%dT%H:%M:%S`: gentoo image-id = $gentoo_image"
     echo "To make the image public run the following command:"