1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Use resolvectl not systemd-resolve
systemd-resolve has been replaced by the resolvectl tool in systemd v239
Author: Michael Biebl <biebl@debian.org>
Bug-Debian: https://bugs.debian.org/990495
Forwarded: https://review.opendev.org/c/openstack/rally-openstack/+/823103
Last-Update: 2021-12-28
--- rally-openstack-2.2.0.orig/rally_openstack/task/scenarios/vm/vmtasks.py
+++ rally-openstack-2.2.0/rally_openstack/task/scenarios/vm/vmtasks.py
@@ -600,7 +600,7 @@ class CheckDesignateDNSResolving(vm_util
key_name=self.context["user"]["keypair"]["name"],
**kwargs)
- script = f"cloud-init status -w; systemd-resolve --status; "\
+ script = f"cloud-init status -w; resolvectl status; "\
f"dig $(hostname).{zone}"
command = {
|