diff --git a/cloudinit/net/ephemeral.py b/cloudinit/net/ephemeral.py index 46b1c653b36..1862b0ea6c1 100644 --- a/cloudinit/net/ephemeral.py +++ b/cloudinit/net/ephemeral.py @@ -86,7 +86,12 @@ def __enter__(self): self.connectivity_url_data["url"], ) return - + else: + LOG.debug( + "Instance does not have connectivity to %s. Bringing up " + "ephemeral network now.", + self.connectivity_url_data["url"], + ) try: self._bringup_device()