[Vmdebootstrap-devel] Bug#770722: Bug#770722: Bug#770722: [PATCH] add --debootstrap-opts to pass additional options to debootstrap

Jan Gerber j at mailb.org
Sun May 3 17:42:14 UTC 2015


> On 05/03/2015 06:45 PM, Lars Wirzenius wrote:
>> I would make this a self.settings.string_list type option instead.
>> This is an option type provided by cliapp that means the value is a
>> list of strings. Thus
>>
>>      vmdebootstrap --debootstrap-option --foo --debootstrap-option --bar
>>
>> would result in a value ["--foo", "--bar"], rather than having the
>> program have to parse the option value itself. This also means that
>> the cliapp configuration file parsing can handle this automatically.

another problem with string_list is that a comma is treated as a 
separator so

--debootstrap-option --components=main,contrib

becomes

['--components=main', 'contrib']



More information about the Vmdebootstrap-devel mailing list