Skip to content

Commit

Permalink
Wrong absolute path to get-bios-ident.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rvojcik committed Dec 6, 2017
1 parent 2ca3017 commit d2d09ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system-info.py
Expand Up @@ -180,13 +180,13 @@ def GetVirtualServers(virtualization):
if server_type_id == 4:
# Get service tag
# Server type, model
product_name = commands.getoutput('/opt/server-audit/get-bios-ident.py -s -m')
product_name = commands.getoutput(script_path + '/get-bios-ident.py -s -m')
debug.print_message("Product name: "+product_name)

service_tag = commands.getoutput('/opt/server-audit/get-bios-ident.py -s -t')
service_tag = commands.getoutput(script_path + '/get-bios-ident.py -s -t')
debug.print_message("Service Tag: "+service_tag)

vendor = commands.getoutput('/opt/server-audit/get-bios-ident.py -s -v')
vendor = commands.getoutput(script_path + '/get-bios-ident.py -s -v')
debug.print_message("Vendor: "+vendor)


Expand All @@ -195,7 +195,7 @@ def GetVirtualServers(virtualization):
service_tag = "VPS-"+hostname
debug.print_message("VPS Service Tag override: "+service_tag)
else:
service_tag = commands.getoutput('/opt/server-audit/get-bios-ident.py -s -t')
service_tag = commands.getoutput(script_path + '/get-bios-ident.py -s -t')

debug.print_message("Hostname: "+hostname)

Expand Down

0 comments on commit d2d09ea

Please sign in to comment.