Skip to content
Snippets Groups Projects
Commit 1406600e authored by Seblu's avatar Seblu
Browse files

add os tql tag

parent 5a06377b
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,7 @@ arch: hardware architecture (x86/x64)
uname: output of uname command
uptime: uptime of hostname
load: load average
os: operating system (linux/windows)
alloc: host is allowed to be selected to a migration
hvm: hardware virtualisation enabled
nvm: vm count on an hypervisor
......
......@@ -43,7 +43,7 @@ class CliHandler(RpcHandler):
def get_tag_os(self, resolve):
'''Return Operating system tag'''
if resolve:
return { "value": platform.system(), "ttl": -1 }
return { "value": platform.system().lower(), "ttl": -1 }
return { "ttl": -1 }
def get_tag_uname(self, resolve):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment