Remove git clone from automated_install.sh

This commit is contained in:
Chris Long
2018-02-15 09:57:52 -08:00
parent 4c3a6b91e7
commit d853579b14
3 changed files with 5 additions and 9 deletions

View File

@@ -28,6 +28,11 @@ jobs:
curl -X GET --header 'Accept: application/json' --header 'X-Auth-Token: '"$PACKET_API_TOKEN" "https://api.packet.net/devices/$DEVICE_ID/ips" > /tmp/ip_info;
- run: cat /tmp/ip_info | jq ."ip_addresses[0].address" | tr -d '"' > /tmp/ip_address
- run: cd ~/repo
- run:
name: Copying DetectionLab repo to Packet server
command: |
export IP_ADDRESS=$(cat /tmp/ip_address);
scp -ir ~/.ssh/id_rsa ~/repo root@"$IP_ADDRESS":/opt/DetectionLab
- run:
name: Copying install script to Packet server
command: |