On Wed, Mar 29, 2017 at 6:24 AM, <christian.is...@solutions.endress.com> wrote:
> > > hi all, > i have a few questions regarding the baviour of the configuration option > > if i do > snap set "mySnap" "myOption=77 > everthing works as expected. i can read the option with snap get or in the > configuration hook with snapctl get. > after snap remove "mySnap" i still can access the option i set before. > > is this the desired baviour? > Nope, thats https://bugs.launchpad.net/snapd/+bug/1636934 <https://bugs.launchpad.net/snapd/+bug/1636934> > where are these values stored? > /var/lib/snapd/state.json > whats the best way for setting default values for the intial setup? > A request for an install time hook is discussed in https://bugs.launchpad.net/snapd/+bug/1661126 Until then your snap or configure hook will need to provide the logic. Pat > > best regards > christian > > > > Disclaimer: > > The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential, proprietary, and/or > privileged > material. Any review, retransmission, dissemination or other use of, or > taking of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited. If you receive > this in error, please contact the sender and delete the material from any > computer. This e-mail does not constitute a contract offer, a contract > amendment, or an acceptance of a contract offer unless explicitly and > conspicuously designated or stated as such. > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm > an/listinfo/snapcraft > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft