Displaying 3 results from an estimated 3 matches for "dnsreply".
2010 Aug 24
1
[PATCH] Clean dig return (excess dot)
...git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 7b95ea8..9e96f7b 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -186,7 +186,7 @@ find_srv()
local search=$(grep search /etc/resolv.conf)
search=${search#search }
for d in $domain $search; do
- dnsreply=$(dig +short -t srv _$1._$2.$d)
+ dnsreply=$(dig +short -t srv _$1._$2.$d | sed s/.$// )
rc=$?
if [ $rc -eq 0 ]; then
set _ $dnsreply; shift
--
1.7.2.1
2010 Mar 02
1
fc12 node partially working
Hi,
I finally have a fc12 node partially working.
I still have to override the kargs runtime_mode in ovirt-early (I want "ovirt"
runtime mode):
368 runtime_mode*)
369 OVIRT_RUNTIME_MODE=${i#runtime_mode=}
370 #runtime_mode=${i#runtime_mode=}
371 ;;
And I have to set manually the the broker for qpid :
service
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...+ domain = subprocess.Popen("dnsdomainname 2>/dev/null", shell=True, stdout=PIPE, stderr=STDOUT)
+ domain_output = domain.stdout.read()
+ if domain_output == "localdomain":
+ domain=""
+ # FIXME dig +search does not seem to work with -t srv
+ # dnsreply=$(dig +short +search -t srv _$1._$2)
+ # This is workaround:
+ search = subprocess.Popen("grep search /etc/resolv.conf", shell=True, stdout=PIPE, stderr=STDOUT)
+ search_output = search.stdout.read()
+ search = search.replace("search ","")
+ domain_searc...