Configuration Hook get/set.

christian.isler at solutions.endress.com christian.isler at solutions.endress.com
Wed Mar 29 10:24:49 UTC 2017



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?
where are these values stored?
whats the best way for setting default values for the intial setup?

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.




More information about the Snapcraft mailing list