Index: /drbl-virt/install.sh
===================================================================
--- /drbl-virt/install.sh	(revision 187)
+++ /drbl-virt/install.sh	(revision 188)
@@ -22,4 +22,17 @@
 check_root
 
+jude="no"
+if [ -e $Work_Home ]; then
+    echo "This system already has drbl-virt."
+    read -p "Do you want to install, again (yes/no): " jude
+
+    if [ $jude == "yes" ]; then
+        rm -fr $Work_Home
+    else
+        echo "Exit"
+        exit
+    fi
+fi
+
 mkdir -p $Work_Home
 mkdir $Work_Home/etc
@@ -28,2 +41,5 @@
 cp -fr $Now_Path/conf $Work_Home/
 cp  -fr $Now_Path/uninstall.sh $Work_Home/
+
+echo "drbl-virt install completion"
+echo "Please go to /opt/drbl-virt/ to check"
Index: /drbl-virt/sbin/drbl_xen_patch.sh
===================================================================
--- /drbl-virt/sbin/drbl_xen_patch.sh	(revision 187)
+++ /drbl-virt/sbin/drbl_xen_patch.sh	(revision 188)
@@ -24,5 +24,5 @@
 check_xen_nu
 Xen_Kernel=$(echo $Xen_Kernel | sed 's/^vmlinuz-//g' )
-
+echo $Xen_Kernel > $Work_Home/etc/Xen_Kernel
 # == Copy xen image to /tftpboot/nbi_img/ ==
 echo "copy Xen image & Kernel to /tftpboot/nbi_img/"
Index: /drbl-virt/sbin/drbl_xen_repush.sh
===================================================================
--- /drbl-virt/sbin/drbl_xen_repush.sh	(revision 187)
+++ /drbl-virt/sbin/drbl_xen_repush.sh	(revision 188)
@@ -77,4 +77,6 @@
 # = 2. Re-deploy drbl client =
 # == Cheange Xen Kernel ==   
+Xen_Kernel=$(cat $Work_Home/etc/Xen_Kernel)
+read -p "Xen_Kernel=$Xen_Kernel"
 echo "/opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel"
 /opt/drbl/sbin/drblsrv-offline -s $Xen_Kernel                                                                                                                        
Index: /drbl-virt/sbin/functions_drbl_virt
===================================================================
--- /drbl-virt/sbin/functions_drbl_virt	(revision 187)
+++ /drbl-virt/sbin/functions_drbl_virt	(revision 188)
@@ -105,5 +105,5 @@
     declare -i j=1
     echo ""
-    
+    echo "Choose Xen-enabled Kernel"
     if [ $Kernels_nu -gt 1  ]; then
         for Kernel in $Kernels
@@ -272,8 +272,8 @@
 
 function generate_Xen_MAC_address(){
-echo "eth $eth"
-echo "VM_Host_totoal_nu $VM_Host_totoal_nu"
-echo "Host_last_IP_4 $Host_last_IP_4"
-echo "VM_prefix_eth $VM_prefix_eth"
+#echo "eth $eth"
+#echo "VM_Host_totoal_nu $VM_Host_totoal_nu"
+#echo "Host_last_IP_4 $Host_last_IP_4"
+#echo "VM_prefix_eth $VM_prefix_eth"
 
 # /opt/drbl-virt/etc/macadr-VM-ethX.txt
@@ -287,5 +287,7 @@
 
 # backup
+if [ -e /opt/drbl-virt/etc/macadr-VM-$eth.txt ]; then
 mv -f /opt/drbl-virt/etc/macadr-VM-$eth.txt /opt/drbl-virt/etc/macadr-VM-$eth.txt.$(date +%Y-%m-%d-%H-%M-%S).drbl-virt_bak
+fi
 
 # generate MAC
