Skip to content

Commit

Permalink
fix(orb-ui): (#838)
Browse files Browse the repository at this point in the history
* agent provisioning command to use 'develop' tagged docker image -> ns1labs/orb-agent:develop
  • Loading branch information
gpazuch authored Feb 7, 2022
1 parent 4acab6b commit f55986e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/src/app/pages/fleet/agents/key/agent.key.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ export class AgentKeyComponent implements OnInit {
-e ORB_CLOUD_MQTT_CHANNEL_ID=${ this.agent.channel_id } \\
-e ORB_CLOUD_MQTT_KEY=${ this.agent.key } \\
-e PKTVISOR_PCAP_IFACE_DEFAULT=mock \\
ns1labs/orb-agent`;
ns1labs/orb-agent:develop`;

this.command2show = `docker run -d --net=host \n
-e ORB_CLOUD_ADDRESS=${ document.location.hostname } \n
-e ORB_CLOUD_MQTT_ID=${ this.agent.id } \n
-e ORB_CLOUD_MQTT_CHANNEL_ID=${ this.agent.channel_id } \n
-e ORB_CLOUD_MQTT_KEY=${ this.agent.key } \n
-e PKTVISOR_PCAP_IFACE_DEFAULT=<mark>mock</mark> \n
ns1labs/orb-agent`;
ns1labs/orb-agent:develop`;
}

toggleIcon (target) {
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/pages/fleet/agents/view/agent.view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class AgentViewComponent {
-e ORB_CLOUD_MQTT_CHANNEL_ID=${ this.agent.channel_id } \\
-e ORB_CLOUD_MQTT_KEY=${ this.agent.key } \\
-e PKTVISOR_PCAP_IFACE_DEFAULT=mock \\
ns1labs/orb-agent`;
ns1labs/orb-agent:develop`;

this.command2show = `docker run -d --net=host \n
-e ORB_CLOUD_ADDRESS=${ document.location.hostname } \n
Expand All @@ -63,6 +63,6 @@ ns1labs/orb-agent`;
-e ORB_CLOUD_MQTT_KEY=${ this.agent.key } \n
-e PKTVISOR_PCAP_IFACE_DEFAULT=<mark>mock</mark> \n
ns1labs/orb-agent`;
ns1labs/orb-agent:develop`;
}
}

0 comments on commit f55986e

Please sign in to comment.