From 89a9713be3e50f7337b100c2f8c40e460667df1f Mon Sep 17 00:00:00 2001 From: nott Date: Thu, 7 Jun 2012 19:17:57 +0000 Subject: [PATCH] hasn- dont run mkresolvconf script git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13025 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/snmove.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/snmove.pm b/xCAT-server/lib/xcat/plugins/snmove.pm index ce6c434d7..811aa4333 100644 --- a/xCAT-server/lib/xcat/plugins/snmove.pm +++ b/xCAT-server/lib/xcat/plugins/snmove.pm @@ -1444,7 +1444,13 @@ sub process_request # xCAT's default scripts to be run: syslog, # setupntp, and mkresolvconf - my @valid_scripts = ("syslog", "setupntp", "mkresolvconf"); + + my @valid_scripts; + if ( ($::isaix) && ($sharedinstall eq "sns") ){ + @valid_scripts = ("syslog", "setupntp"); + } else { + @valid_scripts = ("syslog", "setupntp", "mkresolvconf"); + } my $scripts1 = ""; if (($user_posts) && ($user_posts eq "all")) {