Default configuration options for defined snaps in gadget.yaml
Bug #1661515 reported by
Darren Wu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
Medium
|
Barry Warsaw |
Bug Description
gadget.yaml defines default configuration options for defined snaps, but ubuntu-image does not support it.
The gadget.yaml defines:
defaults:
# Below is the store id of the wifi-ap snap
2rGgvyaY0CCzl
automatic-
ubuntu-image error as:
ubuntu_
The option is described in the official gadget.yaml format at https:/
description: | updated |
Changed in ubuntu-image: | |
status: | Confirmed → In Progress |
Changed in ubuntu-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I bet the problem is the dot in `automatic- setup.disable` .
As of 0.11 u-i parses and ignores the defaults: section but the regexp is probably too tight. It only supports a-z0-9 (case insensitive) and also dashes but not dots. The Gadget-snap spec doesn't really specify what's allowed but generally the same restriction as for the volume name is assumed (and volume name allowable characters *are* defined).
Should be an easy fix to allow dots in the defaults section; I'll ask on the snappy list about allowable characters.