Added support for VLAN especification
This commit is contained in:
committed by
Axel Beckert
parent
1df5885368
commit
1396c05bf7
@@ -151,6 +151,12 @@ name = '{$hostname}'
|
||||
$br = ",bridge=$bridge"
|
||||
}
|
||||
|
||||
my $vl = '';
|
||||
if ( $vlan )
|
||||
{
|
||||
$vl = ".$vlan"
|
||||
}
|
||||
|
||||
$OUT .= "vif = [ 'ip=$ips";
|
||||
$OUT .= "$m";
|
||||
$OUT .= "$vn";
|
||||
|
||||
Reference in New Issue
Block a user