Skip to content

Conversation

@sukantoraymond
Copy link
Collaborator

@sukantoraymond sukantoraymond commented Sep 18, 2025

Copies custom vm binary specified in custom vm path flag for node devnet wiz command to remote hosts

Copy link
Collaborator

@felipemadero felipemadero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really nice add on, but we should try to separate the local binary from the cloud binary as they are not necessarily going to be the same and we probably need both.

Some extra comments:

  1. the binary specified by vmPath should be already available at the ~/.avalanche-cli/vms/, so not need to persist the original path in the sidecar
  2. persisting a path given by the user in sidecar exposes to later fail, if the user removes this file, it is not managed by CLI so should be copied into ~/.avalanche-cli, probably
  3. this brakes local neworks tests for the vm, because you are passing in a binary for aws, that is stored and then used in local networks

return err
}
subnetVMBinaryPath := fmt.Sprintf(constants.CloudNodeSubnetEvmBinaryPath, vmID)
ux.Logger.Info("Building Custom VM for %s to %s", host.NodeID, subnetVMBinaryPath)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not strictly building

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants