11 lines
382 B
11 lines
382 B
# -*- mode: shell-script -*-
|
|
|
|
get_odoo_uid() {
|
|
uid_label="odoo"
|
|
odoo_uid=$(cached_cmd_on_base_image "$SERVICE_NAME" "id -u \"$uid_label\"") || {
|
|
debug "Failed to query for '$uid_label' uid in ${DARKYELLOW}$SERVICE_NAME${NORMAL} base image."
|
|
return 1
|
|
}
|
|
info "openerp uid from ${DARKYELLOW}$SERVICE_NAME${NORMAL} is '$odoo_uid'"
|
|
echo "$odoo_uid"
|
|
}
|