Arch-specific code in generic preseed
Bug #1059474 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
contrib/
{{if node.architecture in {'i386', 'amd64'} }}
d-i mirror/
d-i mirror/
{{else}}
d-i mirror/
d-i mirror/
{{endif}}
This should go instead into contrib/
.../amd64_generic (or .../x86_generic, symlinked from the two
aforementioned locations).
The reason is so that arch-specific settings can be dropped in by
3rd party packages, or by site admins, by simply placing a
properly named file into a .d directory. Doing arch detection
like this interferes with that.
Changed in maas: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
When I wrote this, I tried and failed to use arch-specific templates instead. The template mechanism seemed inverted in a way that made this impossible (or at least I failed to find a way).