Skip to content

Commit

Permalink
Fixed failed pipeline run
Browse files Browse the repository at this point in the history
  • Loading branch information
voelkera committed Feb 1, 2024
1 parent afed626 commit c3b1626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/docker/edgar/scripts/managed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ pre_flight_tasks
PEER_ID=$(uuidgen)
NAME="${OPENDUT_EDGAR_CLUSTER_NAME}_$(hostname)"
echo "Creating peer with name $NAME and id $PEER_ID"
opendut-cleo create peer --name "$NAME" --id "$PEER_ID"
opendut-cleo create peer --name "$NAME" --id "$PEER_ID" --location "$NAME"

DEVICE_INTERFACE="dut0"
ip link add $DEVICE_INTERFACE type dummy
ip link set dev $DEVICE_INTERFACE up
opendut-cleo create device --peer-id "$PEER_ID" --name device-"$NAME" --interface "$DEVICE_INTERFACE" --location "$NAME" --tags "$OPENDUT_EDGAR_CLUSTER_NAME"
opendut-cleo create device --peer-id "$PEER_ID" --name device-"$NAME" --interface "$DEVICE_INTERFACE" --tag "$OPENDUT_EDGAR_CLUSTER_NAME"

PEER_SETUP_KEY=$(opendut-cleo generate-peer-setup --id "$PEER_ID")
echo "Setting up peer with setup key $PEER_SETUP_KEY"
Expand Down

0 comments on commit c3b1626

Please sign in to comment.