fix for bug 3266971: set default boot interface eth0 for SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
99943f735b
commit
d8bcedffa8
@ -101,6 +101,12 @@ sub process_request {
|
||||
$profile = $ref_nodetype->{profile};
|
||||
}
|
||||
|
||||
# -i flag is required with sles genimage
|
||||
if (!$bootif && $os =~ /^sles/) {
|
||||
$bootif = "eth0";
|
||||
}
|
||||
|
||||
|
||||
# check whether the osimage exists or not
|
||||
if($osimg) {
|
||||
my $osimgtab=xCAT::Table->new('osimage', -create=>1);
|
||||
|
Loading…
Reference in New Issue
Block a user