Deployment corrections for Fuel 93/593/3
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Tue, 19 May 2015 08:14:43 +0000 (10:14 +0200)
committerStefan K. Berg <stefan.k.berg@ericsson.com>
Tue, 19 May 2015 08:55:02 +0000 (10:55 +0200)
commit14674941d0e504a942886d36749a0f64490e4ade
tree2d5268a69f1d329c31afb84f8263959851802b90
parentd3995f1df04dc64aba37d70309899f556982aac1
Deployment corrections for Fuel

The most important change is the introduction of support for a selectable
temporary directory for ISO manipulations by setting the TMPDIR variable.

Invoke deploy.sh as "sudo TMPDIR=/my/tmp/dir ./deploy.sh ..." to make
use of this, otherwise the temporary directory defaults to that of the
user running the script.

Other improvements:

- Added error check for when the patch-iso.sh gets an error from
  copying data with cpio (potentially indicating out of disk space)
- Corrected typo in deploy.sh: error-exit -> error_exit

JIRA

Change-Id: I74966c3fe2bee0ac1923cfa9bd9ebfe1ca73a9da
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
fuel/prototypes/auto-deploy/deploy/deploy.sh
fuel/prototypes/auto-deploy/deploy/functions/patch-iso.sh