summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/net/eni.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py
index 9d39a2b0..f471e05f 100644
--- a/cloudinit/net/eni.py
+++ b/cloudinit/net/eni.py
@@ -508,7 +508,7 @@ def available(target=None):
if not util.which(p, search=search, target=target):
return False
eni = util.target_path(target, 'etc/network/interfaces')
- if not os.path.is_file(eni):
+ if not os.path.isfile(eni):
return False
return True