Date
1 - 2 of 2
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? |
|
Sabha
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: http://cf-bosh.70367.x6.nabble.com/cf-bosh-How-the-BOSH-Packckage-be-installed-in-target-machine-tp140p144.html Sent from the CF BOSH mailing list archive at Nabble.com. |
|