Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Install IP injection scripts to /usr/libexec/hypervkvpd
Browse files Browse the repository at this point in the history
Do this because:
hv-rhel6.x/hv/tools/hv_kvp_daemon.c:#define KVP_SCRIPTS_PATH "/usr/libexec/hypervkvpd/"
  • Loading branch information
santoshx committed Feb 26, 2020
1 parent e0c4877 commit 1c7fee6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hv-rhel6.x/hv/rhel6-hv-driver-install
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ cp -f ./hyperv_pvdrivers.conf /etc/modprobe.d/

echo "Copying scripts for IP injection"

\cp -f ./tools/hv_get_dns_info.sh /usr/sbin/hv_get_dns_info
mkdir -p /usr/libexec/hypervkvpd/

\cp -f ./tools/hv_get_dns_info.sh /usr/libexec/hypervkvpd/hv_get_dns_info
[ $? -eq 0 ] || exit 1

\cp -f ./tools/hv_get_dhcp_info.sh /usr/sbin/hv_get_dhcp_info
\cp -f ./tools/hv_get_dhcp_info.sh /usr/libexec/hypervkvpd/hv_get_dhcp_info
[ $? -eq 0 ] || exit 1

\cp -f ./tools/hv_set_ifconfig.sh /usr/sbin/hv_set_ifconfig
\cp -f ./tools/hv_set_ifconfig.sh /usr/libexec/hypervkvpd/hv_set_ifconfig
[ $? -eq 0 ] || exit 1

echo "Copying lsvmbus tool"
Expand Down

0 comments on commit 1c7fee6

Please sign in to comment.