[3.0] ubuntu-image classic always passes `--vcs=auto` to germinate even when told not to.
Bug #2021411 reported by
Alex Lowe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Committed
|
Low
|
Paul Mars |
Bug Description
When creating a classic image, any value of `vcs` under the seed (including not existing) causes `ubuntu-image` to call germinate with the `--vcs=auto` flag.
Workaround: comment out the vcs lines in `internal/
Changed in ubuntu-image: | |
status: | New → Confirmed |
Changed in ubuntu-image: | |
importance: | Undecided → Low |
Changed in ubuntu-image: | |
status: | Confirmed → In Progress |
assignee: | nobody → Paul Mars (upils) |
tags: | added: foundations-todo |
Changed in ubuntu-image: | |
status: | In Progress → Fix Committed |
tags: | removed: foundations-todo |
To post a comment you must log in.
The function generating the germinate command is working as expected. I added a test case because the condition to add the `--vcs=auto` arg was not tested yet.
I am now suspecting the parsing of the Image Definition file to be causing the issue by filling default values when it should not, thus not respecting the given value. The default value for the vcs field is "true", so the --vcs=auto is added by default. If this is the case, 2 other fields maybe affected but went under the radar so far.