Skip to main content

brc install snap

brc install snap

Perform the operation against the Snap packages

Synopsis

Do the requested operation (install, list, or remove) against the Snap packages in a remote machine. This command only supports installation of the Snap packages that are exported by Hydra conventions into OCI artifacts. It would also take care of connecting and disconnecting all the plugs of the Snap package, however, the initialization should be called by the user manually (check the cic command).

The option --namespace must be in the format of bare.<machine-name> to access the remote machine using SSH and perform the action.

brc install snap [flags]

Examples


# list the Snap packages
brc list snap

# install the Snap package oai-cn from the stable channel on machine ayo
brc install --namespace bare.ayo snap --channel stable oai-cn

# remove the Snap package oai-cn on machine ayo
brc remove --namespace bare.ayo snap oai-cn

Options

  -l, --channel string    snap channel (default "stable")
-d, --devmode devmode for snap
-h, --help help for snap
-p, --password string registry password (default "qw3JeGW1bPJHiCV4")
-g, --registry string registry for helm (default "hub.bubbleran.com")
-r, --repo string OCI repository name
-u, --username string registry username (default "eurecom-main")

Options inherited from parent commands

  -n, --namespace string   namespace to perform the operations (default "trirematics")
-v, --verbose debug output

SEE ALSO

Auto generated by spf13/cobra on 23-Apr-2025