Else dnsmasq is defunct: "dnsmasq: junk found in command line".
It partially reverts "Mute log in vnfs" [1] from the time being to
allow gating.
[1] https://gerrit.opnfv.org/gerrit/#/c/54043/
Change-Id: I660904b9e542f776f554562df2808db751cb9d2e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
self.logger.debug('Backup %s -> %s', dns_file, dns_file_bak)
shutil.copy(dns_file, dns_file_bak)
cmd = ("dnsmasq -d -u root --server=/clearwater.opnfv/{0} "
- "-r /etc/resolv.conf.bak >/dev/null 2>&1".format(dns_ip))
+ "-r /etc/resolv.conf.bak".format(dns_ip))
dnsmasq_process = subprocess.Popen(shlex.split(cmd))
script = ('echo -e "nameserver {0}" > {1};'
'cd {2};'