Fix mkvm with up to three ide drives
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d5f84c1e22
commit
a4dd8b7b22
@ -2867,6 +2867,12 @@ sub create_storage_devs {
|
||||
while ($usedideunits{$unitnum}) {
|
||||
$unitnum++;
|
||||
}
|
||||
if ($unitnum == 2) {
|
||||
$idecontrollerkey++;
|
||||
$ideunitnum=1;
|
||||
$unitnum=1;
|
||||
$controllerkey=$idecontrollerkey;
|
||||
}
|
||||
$usedideunits{$unitnum}=1;
|
||||
} else {
|
||||
$controllerkey = $scsicontrollerkey;
|
||||
|
Loading…
Reference in New Issue
Block a user