You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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"
|
|
}
|