X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=build%2Fkvm4nfv-1st-boot.yaml;h=4c1aefc0cec31aa7da8780f0715b24abb15a56c8;hb=3aa975e7f5b73f9caa4f759926cc8710b3b0fd92;hp=0dad3e3b4c1995a97c658d503a03b65b93fc4dad;hpb=fb8c23c5413ee7c820f7c947fb1bb007d5d4cf95;p=apex.git diff --git a/build/kvm4nfv-1st-boot.yaml b/build/kvm4nfv-1st-boot.yaml index 0dad3e3b..4c1aefc0 100644 --- a/build/kvm4nfv-1st-boot.yaml +++ b/build/kvm4nfv-1st-boot.yaml @@ -1,3 +1,4 @@ +--- heat_template_version: 2014-10-16 description: > @@ -21,7 +22,7 @@ resources: type: OS::Heat::MultipartMime properties: parts: - - config: {get_resource: compute_kernel_args} + - config: {get_resource: compute_kernel_args} # Verify the logs on /var/log/cloud-init.log on the overcloud node compute_kernel_args: @@ -36,8 +37,10 @@ resources: if [[ -z $FORMAT ]] ; then FORMAT="compute" ; else - # Assumption: only %index% and %stackname% are the variables in Host name format - FORMAT=$(echo $FORMAT | sed 's/\%index\%//g' | sed 's/\%stackname\%//g') ; + # Assumption: only %index% and %stackname% are + # the variables in Host name format + FORMAT=$(echo $FORMAT | sed 's/\%index\%//g'); + FORMAT=$(echo $FORMAT | sed 's/\%stackname\%//g'); fi if [[ $(hostname) == *$FORMAT* ]] ; then yum install -y /root/$KVMFORNFV_KERNEL_RPM @@ -56,5 +59,3 @@ outputs: # get_attr in the parent template instead. OS::stack_id: value: {get_resource: userdata} - -