Unified Installation Creator uic is a toolkit build on top of debootstrap that allows to automate the creation of customized command line Linux installations based on Debian-Derived distributions. It is able to create life distributions as well as install a customized distribution on a target system. It is mainly intended as a toolkit for system administrators who have often to install Linux servers with particular, repeating characteristics.

uic_create - manpage

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
FILES
AUTHOR
SEE ALSO

NAME

uic_create - creates an installation in the specified installation environment

SYNOPSIS

uic_create [−hvFC] [ -V <variant> ] [ <environment_path> ]

DESCRIPTION

uic_create initializes and populates the installation in the specified installation environment as specified in the template definition file.

The special filesystems /sys, /proc, /dev, /dev/pts and /dev/shm are mounted in the installation area in order to offer full functionality during the installation. The undesired automatic start of services performed by software installation is inhibited by a temporary policy (/usr/sbin/policy-rc.d fails with return code 101).

<environment_path> can be omitted if the command is launched from within the environment directory. Otherwise it can be:

-

an absolute path to the environment directory (e.g.: /home/leo/netpoldo-1404-32)

-

a path to the environment directory relative to the current directory

-

a path to the environment directory relative to the default working path (usually /usr/src)

As a result, a complete customized installation will be created in the chroot subdirectory of the environment.

OPTIONS

−h, −−help

shows the help for the command.

−v, −−verbose

increases the verbosity level of the command. If specified more than once, the verbosity level will be increased.

−C, −−clean

force deletion of existing installation. Since uic_create will not overwrite by default existing installations found in the destination directory, this option permits to execute the command also if there is already an installation in place.

−F, −−force

ignores any already existing files in the installation. Since uic_create will not overwrite by default existing installations found in the destination directory, this option permits to execute the command also if there is already an installation in place.

−l, −−list

show the list of available variants

−V, −−variant <variant>

create the installation using the specified variant

EXAMPLES

uic_create −F /home/leo/uic-projects/netpoldo-1404-32

creates an installation in the installation environment in /home/leo/uic-projects/netpoldo-1404-32 If there is already an installation, it will be deleted and replaced by the new installation. The results can be found in /home/leo/uic-projects/netpoldo-1404-32/chroot

uic_create −v

if the current directory is the home of an installation environment (the uictpl.conf file is there), an installation is created in the chroot subdirectory. The command will produce verbose output and will fail if an installation is already present in the chroot directory.

FILES

/etc/uic.conf

uic configuration file. See uic.conf (8)

<template>/uictpl.conf

template definition and configuration file. See uic.files (7)

<template>/hooks

template hook scripts directory See uic.hooks (7)

<template>/files

directory of files to add to the installation. See uic.files (7)

<template>/files.remove

list of files to remove from the installation. See uic.files (7)

<template>/build

directory of additional files used during the build steps. See uic.files (7)

AUTHOR

uic was written by Leo Moll <leo.moll@yeasoft.com>

SEE ALSO

uic(7), uic_attach(7). uic_build(7), uic_clean(7), uic_detach(7). uic_enter(7), uic_get(7), uic_install(7), uic_pack(7), uic_purge(7), uic_upgrade(7), uic.files(7), uic.hooks(7), uic.conf(7)

Author:
This page was last updated on September 29, 2014, 15:32:27