- suppress the invalid warning for packed member alignment (207e03b0) - Add new fcopy application based on uio driver (82b0945c) - Add vmbus_bufring (45bab4d7) - kvp: Handle IPv4 and Ipv6 combination for keyfile format (f971f6dd) - kvp: Some small fixes for handling NM keyfiles (c3803203) - kvp: Support for keyfile based connection profile (42999c90) - kvp: remove unnecessary (void*) conversions (22589542) - Remove an extraneous "the" (f15f39fa) - change http to https in hv_kvp_daemon.c (fa52a4b2) - replace the copy of include/linux/hyperv.h with include/uapi/linux/hyperv.h (6de74d10) - merge individual udev rules files into a single rules file - package only files, not directories already owned by filesystem.rpm - remove braces from rpm spec macros - remove obsolete Group tag - replace RPM_BUILD_ROOT with buildroot - use a meaningful name for the UAPI include file - use a meaningful variable name for ifcfg in hv_set_ifconfig.sh OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=159
17 lines
636 B
Bash
17 lines
636 B
Bash
#!/bin/bash
|
|
|
|
# This script parses /etc/resolv.conf to retrive DNS information.
|
|
# In the interest of keeping the KVP daemon code free of distro specific
|
|
# information; the kvp daemon code invokes this external script to gather
|
|
# DNS information.
|
|
# This script is expected to print the nameserver values to stdout.
|
|
# Each Distro is expected to implement this script in a distro specific
|
|
# fashion. For instance on Distros that ship with Network Manager enabled,
|
|
# this script can be based on the Network Manager APIs for retrieving DNS
|
|
# entries.
|
|
|
|
if test -r /etc/resolv.conf
|
|
then
|
|
awk -- '/^nameserver/ { print $2 }' /etc/resolv.conf
|
|
fi
|