fai-mirror

Langue: en

Version: 7 September 2007 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

fai-mirror - create and manage a partitial mirror for FAI

SYNOPSIS

fai-mirror [OPTION]... DIRECTORY

DESCRIPTION

This command creates a partitial mirror of Debian packages. It can be used to create the fai CD or as a local mirror when you can't download the whole Debian mirror. By default, the mirror will contain all packages of all classes used in the configuration space (/srv/fai/config/package_config).

OPTIONS

-B
Do not add packages included in base.tgz and packages defined in make-fai-nfsroot.conf to the mirror. By default all those packages are included in the mirror.
-C CFDIR
Use CFDIR as configuration directory. Default is /etc/fai. You can also set the environment variable FAI_ETC_DIR.
-c CLASS[,CLASS]
Use only this list of classes for building the mirror. Can't be used in conjunction with -x.
-h
Show simle help and version.
-x CLASS[,CLASS]
Exclude these classes. Do not add the packages of these classes to the mirror.
-p
Preserve existing sources.list. NOT YET IMPLEMENTED.
-v
Create verbose output.

EXAMPLES



   # fai-mirror -v /files/scratch/mirror

Creates a partitial mirror in the directory /files/scratch/mirror using all classes.


   # fai-mirror -v -cDEFAULT,DEMO /debmirror

Creates a partitial mirror containing all packages used in the classes DEFAULT and DEMO.

NOTES

You only need root permissions if you access the official Debian mirror via NFS.

SEE ALSO


This program is part of FAI (Fully Automatic Installation). The FAI homepage is http://www.informatik.uni-koeln.de/fai.
make-fai-nfsroot(8), install_packages(8)

FILES

/etc/fai/fai.conf
The FAI configuration file.
/etc/fai/make-fai-nfsroot.conf
The FAI configuration file for the nfsroot.
/etc/fai/apt/sources.list Package resource definition for FAI.
/srv/fai/config/package_config/ The FAI package configuration directory. This directory is defined by the variable FAI_CONFIGDIR.

AUTHOR

Thomas Lange <lange@informatik.uni-koeln.de>