Skip to content

Commit

Permalink
Parameterize the interface name
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammed Boukhalfa <mohammed.boukhalfa@est.tech>
  • Loading branch information
mboukhalfa committed Sep 20, 2024
1 parent 791418e commit 8b04baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fake-ipa/fake_ipa/inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def inspect(system, inspection_callback_url, verify, cert, logger):
"lldp": None,
"product": "0x0001",
"vendor": "0x1af4",
"name": "eth1",
"name": system.get("nics")[0]["name"] or "enp1s0",
"has_carrier": True,
"ipv4_address": system.get("nics")[0]["ip"] or None,
"client_id": None,
Expand Down

0 comments on commit 8b04baf

Please sign in to comment.