From d8a9caa175955879e72ffed59fb7c6fcc8b2fc5e Mon Sep 17 00:00:00 2001 From: Chris Valean Date: Wed, 28 Jun 2017 15:52:38 +0300 Subject: [PATCH] Overwrite old dependency files --- hv-rhel6.x/hv/rhel6-hv-driver-install | 8 ++++---- hv-rhel7.x/hv/rhel7-hv-driver-install | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) 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"