You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defines the version of the format this definition was written egainst
leaving this empty assumes 1
volume
node
Create a seperat Volume inside the image
mount options can be specified as porperties and depend on the kernel used to setup the volume. Dataset type images must be ZFS based but other builders can use other properties. It is the implementations responsibility to inform users if a properties are supported or not.
remove
string
Remove files and directories in the image
extract-tar
string
Extract a tarfile into the image
Unpacks the tarball in the / of the image
onu
node
Install onu packages into the image
Only works on IPS images that are illumos based
devfsadm
-
run devfsadm inside the image to create a illumos /dev directory structure
assemble-file
node
Assembles a file from a directory of snippets
group
string
ensure a group with given name is present in the image
if the group exists this action is a noop
user
string
ensure a user with given name exists inside the image
if the user exists this action is a noop
symlink
node
ensure a defined symlink exists
perms
node
ensure a given path has the defined permissions
dir
node
ensure a given directory exists
file
node
ensure a given file with the defined content exists
ips
node
setup the ips properties of the image
seed-smf
-
seed the smf repository inside the image
base-on
string
base this image ontop of the image specidied here
use FMRI to address the image uniquely
base-onimg://openindiana.org/hipsterauthorJohnDoe<john.doe@example.com>/*The Publisher can not be mentioned here in the image fmrithe publisher part comes from DNS and the namespace the user can publish to*/namemy-imagevolume...assemble-file...ips......
volume
While only two properties are mentioned here, all ZFS properties are supported in dataset type images.
Property
type
Effect
Notes
name
string
define the datasets name
can contain /
mountpoint
string
set the mountpoint of the image
Optional if not set the volume is mounted under /$NAME where name is replaced with the volumes name folders that don't exist in the hierarchy are recursively created
The properties of the volume can be type annotated for a specific driver. If that annotation is set all other implementations must ignore the property. If no type is annotated the property is valid for all volume drivers this image may be built by. Normally this is used only for ZFS performance tuning for things like PostgreSQL.
When publishing images to a image registry the namespace and hostname the image gets published to builds the first parts of the FMRI. The images name property builds the last part of the FMRI.
Importing Images to the Host
To import an image into the system it is enough to specify the FMRI