Fix misbehaviour if the --ip option is passed multiple times
According to xen-create-image(8) if --ip is passed multipe times then the first IP is used as the "system" IP and the rest are used as aliases. What actually happened is the last IP is the "system" IP and all other IP's are silently ignored. (Closes Debian bug #652110)
This commit is contained in:
committed by
Axel Beckert
parent
e808f3989a
commit
89e9a54b06
@@ -135,7 +135,7 @@ name = '{$hostname}'
|
||||
$br = ",bridge=$bridge"
|
||||
}
|
||||
|
||||
$OUT .= "vif = [ 'ip=$ip1";
|
||||
$OUT .= "vif = [ 'ip=$IP_ADDRESSES";
|
||||
$OUT .= "$m";
|
||||
$OUT .= "$vn";
|
||||
$OUT .= "$br";
|
||||
|
||||
Reference in New Issue
Block a user