fixed defect 2883734: recreate ml0 configuration after remove ml0
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -129,6 +129,14 @@ if ( $PLTFRM eq "AIX" ) { | ||||
|         exit; | ||||
|     } | ||||
|  | ||||
|     #Check whether the ml0 is available | ||||
|     my $lsdev_cmd = "lsdev -C | grep ml0 2>&1 >/dev/null"; | ||||
|     `$lsdev_cmd`; | ||||
|     if ( $? ) { | ||||
|         my $cfgmgr_cmd = "cfgmgr 2>&1 >/dev/null"; | ||||
|         `$cfgmgr_cmd`; | ||||
|     } | ||||
|  | ||||
|     my $chdev_cmd = "chdev -l ml0 -a state=detach 2>&1"; | ||||
|     runcmd($chdev_cmd); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user