Limitation on VG name in setup-storage?
Thomas Lange
lange at informatik.uni-koeln.de
Tue Jul 2 13:38:50 CEST 2019
>>>>> On Tue, 02 Jul 2019 22:57:48 +1200, Andrew Ruthven <andrew at etc.gen.nz> said:
> When we manually create them, we tend to name our VGs for SSDs as: vg-
> ssd[0-9]+ .
> However, setup-storage doesn't like that and ends up confused with the
> colums on the vg line in the disk_config file.
> Would it be able possible to have VG names allow hyphens?
Not sure, if this can be done easily. In the FAI example we use a hyphen
in the lv name, but not for vg.
Maybe this code in Parser.pm in line 936 is responsible for the limitation:
name: m{^([^/,\s\-]+)}
You could try to remove \- and see if setup-storage is still working.
--
regards Thomas
More information about the linux-fai
mailing list