blob: 6c9d0387ebec27d73020fb2dd032d338612bba3c [file] [log] [blame] [edit]
From 222688d6c7d9b5c0d3e12821fc3bcfedf4baa5be Mon Sep 17 00:00:00 2001
From: Varsha Teratipally <teratipally@google.com>
Date: Thu, 20 Oct 2022 05:20:15 +0000
Subject: [PATCH] cloud-init on azure required dhclient not to be included in
/tmp.
---
cloudinit/net/dhcp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cloudinit/net/dhcp.py b/cloudinit/net/dhcp.py
index 07c133901854..c73e5727512c 100644
--- a/cloudinit/net/dhcp.py
+++ b/cloudinit/net/dhcp.py
@@ -349,7 +349,7 @@ class IscDhclient(DhcpClient):
try:
out, err = subp.subp(
distro.build_dhclient_cmd(
- self.dhcp_client_path,
+ 'dhclient',
self.lease_file,
pid_file,
interface,
--
2.43.0.594.gd9cf4e227d-goog