mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13948 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -134,10 +134,11 @@ mkdir -p /opt/xcat
 | 
			
		||||
cat >/opt/xcat/xcatinstallpost << 'EOF'
 | 
			
		||||
# Install directory variable set by nodeset
 | 
			
		||||
$INSTALLDIR/postscripts/xcatinstallpost
 | 
			
		||||
chkconfig xcatpostinit1 off
 | 
			
		||||
EOF
 | 
			
		||||
chmod 755 /opt/xcat/xcatinstallpost
 | 
			
		||||
 | 
			
		||||
chkconfig --add xcatpostinit1
 | 
			
		||||
 | 
			
		||||
#create the dskls post 
 | 
			
		||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
 | 
			
		||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
 | 
			
		||||
 
 | 
			
		||||
@@ -133,10 +133,11 @@ mkdir -p /opt/xcat
 | 
			
		||||
cat >/opt/xcat/xcatinstallpost << 'EOF'
 | 
			
		||||
# Install directory variable set by nodeset
 | 
			
		||||
$INSTALLDIR/postscripts/xcatinstallpost
 | 
			
		||||
chkconfig xcatpostinit1 off
 | 
			
		||||
EOF
 | 
			
		||||
chmod 755 /opt/xcat/xcatinstallpost
 | 
			
		||||
 | 
			
		||||
chkconfig --add xcatpostinit1
 | 
			
		||||
 | 
			
		||||
#create the dskls post 
 | 
			
		||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
 | 
			
		||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
 | 
			
		||||
 
 | 
			
		||||
@@ -151,11 +151,12 @@ mkdir -p /opt/xcat
 | 
			
		||||
cat >/opt/xcat/xcatinstallpost << 'EOF'
 | 
			
		||||
# Install directory variable is set by nodeset
 | 
			
		||||
$INSTALLDIR/postscripts/xcatinstallpost
 | 
			
		||||
chkconfig xcatpostinit1 off
 | 
			
		||||
EOF
 | 
			
		||||
# Change permissions
 | 
			
		||||
chmod 755 /opt/xcat/xcatinstallpost
 | 
			
		||||
 | 
			
		||||
chkconfig --add xcatpostinit1
 | 
			
		||||
 | 
			
		||||
#create the dskls post 
 | 
			
		||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
 | 
			
		||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
 | 
			
		||||
 
 | 
			
		||||
@@ -151,6 +151,8 @@ EOF
 | 
			
		||||
# Change permissions
 | 
			
		||||
chmod 755 /opt/xcat/xcatinstallpost
 | 
			
		||||
 | 
			
		||||
chkconfig --add xcatpostinit1
 | 
			
		||||
 | 
			
		||||
#create the dskls post 
 | 
			
		||||
cat >/opt/xcat/xcatdsklspost << 'EOF'
 | 
			
		||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatdsklspost#
 | 
			
		||||
 
 | 
			
		||||
@@ -144,7 +144,6 @@ ln -s /etc/init.d/xcatpostinit1 /etc/rc2.d/S84xcatpostinit1
 | 
			
		||||
mkdir -p /opt/xcat
 | 
			
		||||
cat >/opt/xcat/xcatinstallpost << 'EOF'
 | 
			
		||||
#INCLUDE:#TABLE:site:key=installdir:value#/postscripts/xcatinstallpost#
 | 
			
		||||
rm /etc/rc2.d/S84xcatpostinit1
 | 
			
		||||
EOF
 | 
			
		||||
chmod 755 /opt/xcat/xcatinstallpost
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user