diff --git a/hv-rhel6.x/hv/rhel6-hv-driver-install b/hv-rhel6.x/hv/rhel6-hv-driver-install index aad0c8458..d45b992ab 100755 --- a/hv-rhel6.x/hv/rhel6-hv-driver-install +++ b/hv-rhel6.x/hv/rhel6-hv-driver-install @@ -23,18 +23,18 @@ cp -f ./hyperv_pvdrivers.conf /etc/modprobe.d/ echo "Copying scripts for IP injection" -\cp ./tools/hv_get_dns_info.sh /usr/sbin/hv_get_dns_info +\cp -f ./tools/hv_get_dns_info.sh /usr/sbin/hv_get_dns_info [ $? -eq 0 ] || exit 1 -\cp ./tools/hv_get_dhcp_info.sh /usr/sbin/hv_get_dhcp_info +\cp -f ./tools/hv_get_dhcp_info.sh /usr/sbin/hv_get_dhcp_info [ $? -eq 0 ] || exit 1 -\cp ./tools/hv_set_ifconfig.sh /usr/sbin/hv_set_ifconfig +\cp -f ./tools/hv_set_ifconfig.sh /usr/sbin/hv_set_ifconfig [ $? -eq 0 ] || exit 1 echo "Copying lsvmbus tool" -\cp ./tools/lsvmbus /usr/sbin/ +\cp -f ./tools/lsvmbus /usr/sbin/ [ $? -eq 0 ] || exit 1 echo "Generating initramfs" diff --git a/hv-rhel7.x/hv/rhel7-hv-driver-install b/hv-rhel7.x/hv/rhel7-hv-driver-install index 551d309b8..8afa760b8 100755 --- a/hv-rhel7.x/hv/rhel7-hv-driver-install +++ b/hv-rhel7.x/hv/rhel7-hv-driver-install @@ -21,21 +21,21 @@ cp -f ./hyperv_pvdrivers.conf /etc/modprobe.d/ [ $? -eq 0 ] || exit 1 echo "Copying scripts for IP injection" -\cp ./tools/hv_get_dns_info.sh /usr/sbin/hv_get_dns_info +\cp -f ./tools/hv_get_dns_info.sh /usr/sbin/hv_get_dns_info [ $? -eq 0 ] || exit 1 -\cp ./tools/hv_get_dhcp_info.sh /usr/sbin/hv_get_dhcp_info +\cp -f ./tools/hv_get_dhcp_info.sh /usr/sbin/hv_get_dhcp_info [ $? -eq 0 ] || exit 1 -\cp ./tools/hv_set_ifconfig.sh /usr/sbin/hv_set_ifconfig +\cp -f ./tools/hv_set_ifconfig.sh /usr/sbin/hv_set_ifconfig [ $? -eq 0 ] || exit 1 echo "Copying lsvmbus tool" -\cp ./tools/lsvmbus /usr/sbin/ +\cp -f ./tools/lsvmbus /usr/sbin/ [ $? -eq 0 ] || exit 1 echo "Copying bondvf.sh" -\cp ./tools/bondvf.sh /usr/sbin/ +\cp -f ./tools/bondvf.sh /usr/sbin/ [ $? -eq 0 ] || exit 1 echo "Generating initramfs"