1
0
mirror of synced 2026-04-27 12:48:52 +00:00

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:
Brian Bennett
2012-05-07 21:18:36 +02:00
committed by Axel Beckert
parent e808f3989a
commit 89e9a54b06
2 changed files with 13 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ name = '{$hostname}'
$br = ",bridge=$bridge"
}
$OUT .= "vif = [ 'ip=$ip1";
$OUT .= "vif = [ 'ip=$IP_ADDRESSES";
$OUT .= "$m";
$OUT .= "$vn";
$OUT .= "$br";