Send bootstrap meta-uuid,if exist

Implements: blueprint dynamically-build-bootstrap
Change-Id: Iae2510f6dca65785938a69c1f0cc9f6c1eac5fda
This commit is contained in:
alexz 2015-11-10 20:04:10 +02:00 committed by Valyavskiy Viacheslav
parent 16f5c1a157
commit b56f832abc
1 changed files with 3 additions and 2 deletions

5
agent
View File

@ -138,8 +138,8 @@ class NodeAgent
def initialize(logger)
@logger = logger
settings = get_settings()
@api_ip = URI(settings['url']).host or API_DEFAULT_ADDRESS
@settings = get_settings()
@api_ip = URI(@settings['url']).host or API_DEFAULT_ADDRESS
scheme, api_port = get_scheme_and_port()
@ -578,6 +578,7 @@ class NodeAgent
:manufacturer => _manufacturer,
:serial => _serial,
:uuid => uuid,
:runtime_uuid => @settings['runtime_uuid'],
:product => _product_name,
:family => (@os[:dmi][:system][:family].strip rescue nil),
:version => (@os[:dmi][:system][:version].strip rescue nil),