packaging
This commit is contained in:
parent
2b85c65dd8
commit
bd669dbe44
|
@ -23,12 +23,13 @@ for f in albatross_log \
|
|||
do install -U $basedir/packaging/rc.d/$f $rootdir/usr/local/etc/rc.d/$f; done
|
||||
|
||||
# stage albatross app binaries
|
||||
for f in vmmd vmmd_log vmmd_console vmmd_stats; do
|
||||
for f in vmmd vmmd_log vmmd_console vmmd_stats vmmd_influx vmmd_tls; do
|
||||
install -U $basedir/_build/app/$f.native \
|
||||
$rootdir/usr/local/libexec/albatross/$f; done
|
||||
|
||||
install -U $basedir/_build/app/vmmc_local.native \
|
||||
$rootdir/usr/local/sbin/vmmc_local
|
||||
for f in vmmc_local vmmc_remote vmmc_bistro vmmp_ca vmmp_request; do
|
||||
install -U $basedir/_build/app/$f.native \
|
||||
$rootdir/usr/local/sbin/$f; done
|
||||
|
||||
# create +MANIFEST
|
||||
flatsize=$(find "$rootdir" -type f -exec stat -f %z {} + |
|
||||
|
|
|
@ -39,14 +39,14 @@ albatross_x_start () {
|
|||
_ALL)
|
||||
for _vm in $albatross_x_vms; do
|
||||
eval _create_args=\"\$albatross_x_args_${_vm}\"
|
||||
/usr/local/sbin/vmmc create $_vm $_create_args
|
||||
/usr/local/sbin/vmmc_local create $_vm $_create_args
|
||||
done
|
||||
return
|
||||
;;
|
||||
esac
|
||||
for _vm in $@; do
|
||||
eval _create_args=\"\$albatross_x_args_${_vm}\"
|
||||
/usr/local/sbin/vmmc create $_vm $_create_args
|
||||
/usr/local/sbin/vmmc_local create $_vm $_create_args
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -54,15 +54,16 @@ albatross_x_stop () {
|
|||
case $1 in
|
||||
ALL)
|
||||
for _vm in $albatross_x_vms
|
||||
do /usr/local/sbin/vmmc destroy $_vm; done
|
||||
do /usr/local/sbin/vmmc_local destroy $_vm; done
|
||||
return
|
||||
esac
|
||||
for _vm in $@
|
||||
do /usr/local/sbin/vmmc destroy $_vm; done
|
||||
do /usr/local/sbin/vmmc_local destroy $_vm; done
|
||||
}
|
||||
|
||||
albatross_x_status () {
|
||||
/usr/local/sbin/vmmc info
|
||||
for _vm in $@
|
||||
do /usr/local/sbin/vmmc_local info $_vm; done
|
||||
}
|
||||
|
||||
case $# in
|
||||
|
|
Loading…
Reference in a new issue