From 6624476a9a3233f6de519b422a3d208ce7ab73b7 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Thu, 30 Dec 2010 00:05:23 +0000 Subject: [PATCH] fixed two syntax error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8525 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/mkhyperv | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/mkhyperv b/xCAT/postscripts/mkhyperv index d731bbbd7..4619a400c 100755 --- a/xCAT/postscripts/mkhyperv +++ b/xCAT/postscripts/mkhyperv @@ -64,7 +64,7 @@ chkconfig --add libvirtd #added runlevels to init.d/kvm - kvm needs to start before libvirt or the #libvirt will not recognize kvm-ness is available and vm creation will fail. -cat < /etc/init.d/kvm && chmod u+x /etc/init.d/kvm && chkconfig --add kvm +cat < /etc/init.d/kvm #!/bin/sh # kvm init script - stripped off bridge code, but still 'Takes care # @@ -103,6 +103,7 @@ case "\$1" in esac EOF +chmod u+x /etc/init.d/kvm && chkconfig --add kvm # iscsi target init script # you may not need this. Also, you'll have to set the iSCSI target @@ -111,8 +112,7 @@ EOF ISCSITARGET=h0.cluster1 -cat < /etc/init.d/iscsiconnect && chmod u+x -/etc/init.d/iscsiconnect && chkconfig --add iscsiconnect +cat < /etc/init.d/iscsiconnect #!/bin/sh # # chkconfig: 345 10 75 @@ -145,3 +145,5 @@ case "\$1" in exit 1 esac EOF + +chmod u+x /etc/init.d/iscsiconnect && chkconfig --add iscsiconnect