Sponsor:

Your company here, and a link to your site. Click to find out more.

ostree-admin-stateroot-init - Man Page

Initialize empty state for a given operating system

Synopsis

ostree admin stateroot-init {STATEROOT}

Description

Initializes an new stateroot (AKA "osname") for an operating system. Ensures that the core subdirectories of /var (/tmp, /lib, /run, and /lock) exist and initialize the given STATEROOT as OSTree stateroot. Each deployment location is comprised of a single shared var and a set of deployments (chroots).

Example

$ ostree admin stateroot-init exampleos

        ostree/deploy/exampleos initialized as OSTree stateroot

Info

ostree admin stateroot-init