exec option not supported in configuration files
Bug #284614 reported by
Mathias Gug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
Undecided
|
Unassigned | ||
vm-builder (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Specifying an exec option in a configuration file doesn't work while using --exec on the command line works.
However the execscript option is correctly recognized when specified in a configuration file.
Related branches
Changed in vmbuilder: | |
status: | New → Confirmed |
Changed in vm-builder: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in vmbuilder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Python's ConfParser class is implemented so that
- When an option has multiple form, the first encountered long name is the one to use in the conf file.
- When an option contains - in its name, the - should be tranformed in a _ in the conf file.
- When the destination variable name is specified, it is the variable name that should be user.
=> Added hints in help for ambiguous values.