Use -net=host for docker-puppet.py config gen
We pass the short hostname to docker-puppet.py. In order to satisfy the factor FQDN check for the short hostname we need to run the container with --net=host in some cases. Change-Id: I2929f122f23ee33e8ea5d4c5006d2bbb8b928b67 Closes-bug: #1681903
This commit is contained in:
parent
74684af1ad
commit
93e0e58bcc
@ -169,6 +169,8 @@ resources:
|
||||
properties:
|
||||
group: script
|
||||
config: {get_file: docker-puppet.py}
|
||||
inputs:
|
||||
- name: NET_HOST
|
||||
|
||||
{{role.name}}GenerateConfigDeployment:
|
||||
type: OS::Heat::SoftwareDeploymentGroup
|
||||
@ -177,6 +179,8 @@ resources:
|
||||
name: {{role.name}}GenerateConfigDeployment
|
||||
servers: {get_param: [servers, {{role.name}}]}
|
||||
config: {get_resource: {{role.name}}GenerateConfig}
|
||||
input_values:
|
||||
NET_HOST: 'true'
|
||||
|
||||
{{role.name}}PuppetStepConfig:
|
||||
type: OS::Heat::Value
|
||||
|
Loading…
x
Reference in New Issue
Block a user