Configuration Hook get/set.
pawel.stolowski at canonical.com
Wed Mar 29 15:48:04 UTC 2017
The fix for this bug landed today and should be available in the next
On 29.03.2017 15:04, Pat McGowan wrote:
> On Wed, Mar 29, 2017 at 6:24 AM, <christian.isler at solutions.endress.com>
>> 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
>> where are these values stored?
>> whats the best way for setting default values for the intial setup?
> A request for an install time hook is discussed in
> Until then your snap or configure hook will need to provide the logic.
>> best regards
>> The information transmitted is intended only for the person or entity to
>> which it is addressed and may contain confidential, proprietary, and/or
>> 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 at lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
More information about the Snapcraft