updated apt state
This commit is contained in:
parent
ae8c3d4514
commit
23f1275aa7
@ -10,7 +10,7 @@ PORT = "{{ apt.proxy.port }}"
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
regex = re.compile(f".*{HOSTNAME}.*")
|
regex = re.compile(f".*{HOSTNAME}.*")
|
||||||
cmd = subprocess.Popen(f"avahi-resolve-host-name {HOSTNAME}",
|
cmd = subprocess.Popen(f"getent hosts {HOSTNAME}",
|
||||||
shell=True,
|
shell=True,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user