Index: drbl-virt/sbin/drbl_virt.sh
===================================================================
--- drbl-virt/sbin/drbl_virt.sh	(revision 174)
+++ drbl-virt/sbin/drbl_virt.sh	(revision 175)
@@ -11,5 +11,5 @@
 # [Source]
 source /opt/drbl-virt/conf/drbl-virt.conf
-source /opt/drbl-virt/sbin/functions_drbl_virt
+source $Work_Path/functions_drbl_virt
 # [Main]
 install_drbl-virt_dir
Index: drbl-virt/sbin/drbl_xen_patch.sh
===================================================================
--- drbl-virt/sbin/drbl_xen_patch.sh	(revision 174)
+++ drbl-virt/sbin/drbl_xen_patch.sh	(revision 175)
@@ -10,6 +10,6 @@
 
 # [Source]
-source functions_drbl_virt
 source /opt/drbl-virt/conf/drbl-virt.conf
+source $Work_Path/functions_drbl_virt
 
 # [Main]
@@ -23,13 +23,4 @@
 check_xen_nu
 Xen_Kernel=$(echo $Xen_Kernel | sed 's/^vmlinuz-//g' )
-echo "/opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel"
-/opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel
-echo ""
-
-# == Re-delpoy drbl client ==
-echo "Re-delpoy drbl client"
-echo "/opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf"
-/opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
-echo ""
 
 # == Copy xen image to /tftpboot/nbi_img/ ==
@@ -116,2 +107,15 @@
 modify_line=$modify_line+1
 sed -i "${modify_line}ish /bin/start_xen_bridge.sh" $modify_file
+
+
+# = 3. Re-deploy drbl client =
+# == Cheange Xen Kernel ==
+echo "/opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel"
+/opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel                                                                                                                        
+echo ""
+# == Re-delpoy drbl client ==
+echo "Re-delpoy drbl client"
+echo "/opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf"
+/opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
+echo ""
+
Index: drbl-virt/sbin/kvm_install.sh
===================================================================
--- drbl-virt/sbin/kvm_install.sh	(revision 174)
+++ drbl-virt/sbin/kvm_install.sh	(revision 175)
@@ -8,4 +8,7 @@
 # History:                                                                                          
 #   2010/07/20  Rock    First release (1.0) 
+
+source /opt/drbl-virt/conf/drbl-virt.conf
+source $Work_Path/functions_drbl_virt
 
 # [ Intall ] 
Index: drbl-virt/sbin/xen_install.sh
===================================================================
--- drbl-virt/sbin/xen_install.sh	(revision 174)
+++ drbl-virt/sbin/xen_install.sh	(revision 175)
@@ -11,5 +11,5 @@
 # [Source]
 source /opt/drbl-virt/conf/drbl-virt.conf
-source functions_drbl_virt
+source $Work_Path/functions_drbl_virt
 
 # [Main]
