Skip to content

Commit

Permalink
24.04: cloud-init fails due to incorrect module call
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Jan 7, 2025
1 parent d1a2dc3 commit 2248d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudinit/sources/DataSourceNoCloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _pp2d_callback(mp, data):
# to accomplish this.
system_uuid = None
try:
system_uuid = util.read_dmi_data('system-uuid')
system_uuid = dmi.read_dmi_data('system-uuid')
system_uuid = system_uuid.lower() if system_uuid else None
except Exception:
util.logexc(LOG, "Failed to get system uuid from dmi")
Expand Down

0 comments on commit 2248d68

Please sign in to comment.