diff options
Diffstat (limited to 'src/resource_inventory/models.py')
-rw-r--r-- | src/resource_inventory/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource_inventory/models.py b/src/resource_inventory/models.py index 01da8bb..e2f2fea 100644 --- a/src/resource_inventory/models.py +++ b/src/resource_inventory/models.py @@ -345,7 +345,7 @@ class Server(Resource): return { "id": self.labid, "image": image, - "hostname": self.name, + "hostname": self.config.name, "power": power, "ipmi_create": str(ipmi) } |