custom lxd bridges inside a snap
Adam Stokes
adam.stokes at canonical.com
Wed Aug 17 13:07:25 UTC 2016
After talking to people in IRC I've been lead to believe that I can't
actually create and start a network bridge without the user running
additional commands.
My user experience is:
$ snap install conjure-up
.. custom LXD bridge is created during that install, the bridge is then
started
But what I'm being told is I have to do:
$ snap install conjure-up
$ snap connect
$ some form of systemctl command
This is required even though I've set in my snapcraft.yaml that I need
access to those plugins (network-control, network-bind, firewall-control).
This is actually a blocker for me as I can not replicate the same user
experience as if the user was installing via deb packages.
Am I missing anything? Can this be resolved to just running a single
install command and having everything setup for the user to start with?
For reference this is my snapcraft and files I need to work:
https://github.com/conjure-up/conjure-up/tree/patch-add-bridge-to-snap/snapcraft
On Tue, Aug 16, 2016 at 5:04 PM Jamie Strandboge <jamie at canonical.com>
wrote:
> On Tue, 2016-08-16 at 19:07 +0000, Adam Stokes wrote:
> > I've found some discussion on this here:
> >
> >
> https://lists.ubuntu.com/archives/snappy-app-devel/2015-November/000477.html
> >
> > I am curious to know if this is possible now or still a work in
> progress? I
> > have a snap that requires a custom LXD bridge and would like to make use
> of
> > that if possible.
>
> The 'network-control' interface is meant to be used for this sort of thing
> and
> should give you the permissions required for setting up bridges, etc. If
> there
> are bugs with the security policy, please file them at:
>
> https://bugs.launchpad.net/snappy/+filebug
>
> and add the 'snapd-interface' tag.
>
> --
> Jamie Strandboge | http://www.canonical.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160817/8805893a/attachment.html>
More information about the Snapcraft
mailing list