About hashicorp-nomad snap features

Hey, there.

I have created the following snap: https://github.com/ayr-ton/snap-nomad/blob/master/snap/snapcraft.yaml

My aim is to create a cluster with ubuntu core raspberry pi.

From this purpose I would like to ask the following questions:

  • How to add parts from different architectures? (E.g.: armhf, amd64, etc) The documentation doesn’t mention it.
  • Is possible to add a daemon that is disabled by default? Like, I can use the nomad command as a client or do something like snap service enable nomad for daemon mode as well.

Thanks for your time reviewing those questions :slight_smile:

1 Like

This can be done with an install hook that has something like this content:


snapctl stop --disable $SNAP_NAME.<your-daemon-name>