Skip to content

Commit

Permalink
Fix forgotten code from production #13
Browse files Browse the repository at this point in the history
  • Loading branch information
rvojcik committed Aug 30, 2017
1 parent 78d0f04 commit 2ca3017
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions system-info.py
Expand Up @@ -175,6 +175,7 @@ def GetVirtualServers(virtualization):

product_name = ''
vendor = ''
# Get hostname
hostname = platform.node()
if server_type_id == 4:
# Get service tag
Expand All @@ -196,9 +197,6 @@ def GetVirtualServers(virtualization):
else:
service_tag = commands.getoutput('/opt/server-audit/get-bios-ident.py -s -t')

# Get hostname
if init_run == "yes":
hostname = init_prefix + "-" + service_tag
debug.print_message("Hostname: "+hostname)

# CPU information
Expand Down

0 comments on commit 2ca3017

Please sign in to comment.