How the BOSH Packckage be installed in target machine?


Xue Zhi Yong <zhiyxue@...>
 

This is a package script sample from https://bosh.io/docs/create-release.html#pkg-scripts
set -e -x

cp -a ardo_app/* ${BOSH_INSTALL_TARGET}

cd ${BOSH_INSTALL_TARGET}

/var/vcap/packages/ruby_1.9.3/bin/bundle install \
--local \
--deployment \
--without development test
The documents said the packaging scrpit will be run in a compiling VM, not the target VM.
I have two questions about this script:
1. Where is the target after execute command "cd ${BOSH_INSTALL_TARGET}" ?
2. If there's a job depend on this package. How the package will be installed to the job target VM?

Join {cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.