nebula icon indicating copy to clipboard operation
nebula copied to clipboard

Request: Create a "snap" for easy installation on various Linux platforms.

Open jrop opened this issue 6 years ago • 5 comments

Packaging nebula up into a Snap would allow users to install it via the following command on various linux distros:

snap install --classic nebula # (or similar...)

An intro on packaging up a Go application into a "snap" can be found here:

https://snapcraft.io/first-snap#go

jrop avatar Jan 21 '20 19:01 jrop

I'm looking into it. I have a product usecase that requires nebula be in a snap package. No guarantee on when it'll be done as it's my first snap, but I'm actively working on it

ArmoredBlood avatar Jan 21 '20 23:01 ArmoredBlood

Yeah, I wanted to look into it as well, but other time commitments take precedence.

jrop avatar Jan 21 '20 23:01 jrop

I did some testing yesterday and with classic confinement there is absolutely no problems in getting this up and running. However, for getting the Nebula interface up and running you only need the network and network-control plugs so maybe its better to go the strict confinement route. That presents some challenges on where to store the created ca certs (and others) during creation but with the personal-files plug we can get around that too.

jwallden avatar Feb 23 '20 16:02 jwallden

I have pushed a working snap to the snap store and are awaiting review and the grant to autoconnect network-control and the use of system-files. Here is the link to the request over att Snapcraft

I have published this snap under the name nebula. I'm of course happy to transfer ownership of this snap. Probably cleaner to have it published by SlackHQ. Anyhow, here is the link to the snap in its current state: https://github.com/jwallden/nebula-snap

jwallden avatar Feb 24 '20 23:02 jwallden

Just want to let you know that with some minor changes the snap is now available in the Snapstore. Still haven't got approval for the autoconnect so have to do that manually for now. I'd appreciate if someone could test it and let me know if any issues arise.

jwallden avatar Mar 25 '20 11:03 jwallden