Skip to content

Commit

Permalink
address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Jul 21, 2023
1 parent e82e347 commit d3abdbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,8 @@ avalanche-network-runner control list-subnets
```
_Note: To create a blockchain, the vm binary for it should be present under `AVALANCHEGO_PLUGIN_DIR`, with a filename equal to the vm id.
But, ANR receives a vm name as param, and uses it to generate a vm id to look for. So there is a need to get the expected
vm id from a user given vm name._
To get the vm id associated with a given vm name:
The vm id can be derived from the vm name by using:
```bash
curl -X POST -k http://localhost:8081/v1/control/vmid -d '{"vmName": "'${VM_NAME}'"}'
Expand Down

0 comments on commit d3abdbb

Please sign in to comment.