Missing right curly bracket in TrueNAS-SCALE Fix.
- Added a '}' at line 515. - Fixes issues reported in #98 abd #75. - freenas-proxmox-packer also fixed. The stable build directory somehow was moved to the development building directory.
This commit is contained in:
parent
cc9707a14c
commit
1048ee23a7
|
|
@ -512,6 +512,7 @@ sub freenas_iscsi_create_extent {
|
||||||
$name =~ s/^.*\///; # all from last /
|
$name =~ s/^.*\///; # all from last /
|
||||||
if ($product_name eq "TrueNAS-SCALE") {
|
if ($product_name eq "TrueNAS-SCALE") {
|
||||||
$scfg->{'pool'} =~ s/\//-/;
|
$scfg->{'pool'} =~ s/\//-/;
|
||||||
|
}
|
||||||
$name = $scfg->{'pool'} . ($product_name eq "TrueNAS-SCALE" ? '-' : '/') . $name;
|
$name = $scfg->{'pool'} . ($product_name eq "TrueNAS-SCALE" ? '-' : '/') . $name;
|
||||||
|
|
||||||
my $device = $lun_path;
|
my $device = $lun_path;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue