How the BOSH Packckage be installed in target machine?

Xue Zhi Yong <zhiyxue@...>

This is a package script sample from
set -e -x

cp -a ardo_app/* ${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?


The BOSH_INSTALL_TARGET would be /var/vcap/packages/<nameofPackage>.
The files under this folder would be saved from the compilation vm onto the
target vm with the same path if the job has a reference to the package (in
the job spec file).

View this message in context:
Sent from the CF BOSH mailing list archive at