Glossary term: SiteId

/glossary/siteid/

UBOS identifies each Site with a unique identifier, called the SiteId, which consists of an s and a long hexadecimal number.

For example, s4100f3ed79b845dc04a974c0144f5c5b2f81face is a valid SiteId.

A Site’s SiteId establishes the identity of the Site and remains persistent even if the Site’s Hostname is changed, for example.

SiteIds are used with UBOS commands that refer to a particular Site.

To determine a Site’s SiteId, execute:

% sudo ubos-admin listsites --detail

Because SiteIds are long and unwieldy, many UBOS commands allow the use of only the first few characters, as long as they are unique on the Device, and you append three periods at the end, in lieu of the remainder.

For example, if there is no other Site installed on your Device and the SiteId you wish to specify is the one shown above, you can use s41..., s4100f3... or even s... as a shorthand.

Many commands also accept the Site’s Hostname instead of the SiteId.

See also: