[Ocata/Pike/Queens] Make rhel-registration scripts location absolute.
This patch modifies the script files location to be executed during the SoftwareDeployment resources in rhel-registration.yaml. The main purpose of this is to ensure we are running the right script content related to a branch, for example, after an upgrade. Change-Id: If77acb78c63511054e17d553982e19e748c88992 Related-Bug: #1797138
This commit is contained in:
parent
c149fccaa3
commit
91746c290b
|
@ -110,7 +110,7 @@ resources:
|
||||||
- name: REG_HTTP_PROXY_PORT
|
- name: REG_HTTP_PROXY_PORT
|
||||||
- name: REG_HTTP_PROXY_USERNAME
|
- name: REG_HTTP_PROXY_USERNAME
|
||||||
- name: REG_HTTP_PROXY_PASSWORD
|
- name: REG_HTTP_PROXY_PASSWORD
|
||||||
config: {get_file: scripts/rhel-registration}
|
config: {get_file: /usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/scripts/rhel-registration}
|
||||||
|
|
||||||
RHELRegistrationDeployment:
|
RHELRegistrationDeployment:
|
||||||
type: OS::Heat::SoftwareDeployment
|
type: OS::Heat::SoftwareDeployment
|
||||||
|
@ -147,7 +147,7 @@ resources:
|
||||||
type: OS::Heat::SoftwareConfig
|
type: OS::Heat::SoftwareConfig
|
||||||
properties:
|
properties:
|
||||||
group: script
|
group: script
|
||||||
config: {get_file: scripts/rhel-unregistration}
|
config: {get_file: /usr/share/openstack-tripleo-heat-templates/extraconfig/pre_deploy/rhel-registration/scripts/rhel-unregistration}
|
||||||
inputs:
|
inputs:
|
||||||
- name: REG_METHOD
|
- name: REG_METHOD
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue