SYNOPSIS

newvserver --hostname x --domain y.z --ip 1.2.3.4/24 [ \s-1OPTIONS\s0 ]

DESCRIPTION

OPTIONS

Optional:

    -h, --help        this help
    -V, --version     copyright and version information
    --arch            set target architecture (eg. --arch \*(L"i386\*(R")
                      (autodetected on Debian host if dpkg available)
    --dist            defaults to \*(L"squeeze\*(R", passed to debootstrap.
    --context n       Set the context id to be used.
    --fakeinit        use \*(L"/sbin/init\*(R" to boot vserver
    --conffile        extra configuration file to load.
    --interface       interface for \s-1IP\s0 addresses (default \*(L"eth0\*(R")
    --mirror          Debian \s-1HTTP/FTP\s0 mirror (including the /debian)
                      Default: http://ftp.uk.debian.org/debian
    --sshkeys         copy pub-keys to \*(L"/root/.ssh/authorized_keys\*(R"
    -v, --verbose     show extra output during setup
    --vsroot          location of \*(L"/vserver/\*(R" directory

Required:

    --hostname        hostname for new vserver (eg. \*(L"alpha\*(R")
    --domain          dns domain for new vserver (eg. \*(L"example.com\*(R")
    --ip              IPv4 address for new vserver
                      (syntax: --ip <ip>[/<netmask|prefixlength>])

CONFIG FILE

The following variables can be set in a configuration file. The configuration file is a normal shell file and is sourced to get the configuration variables.

Packages to install in addition to the base defaults \s-1MUST\s0 \s-1INCLUDE\s0 \s-1ALL\s0 \s-1DEPENDENCIES\s0 (seperated by \*(L",\*(R" commas)

INSTALL_PACKAGES=\*(L"package1,package2\*(R"

Packages installed from within the vserver after it has been setup (seperated by \*(L",\*(R" commas) EXTRA_PACKAGES=\*(L"package1,package2\*(R"

Packages to remove from the base defaults (seperated by \*(L",\*(R" commas) REMOVE_PACKAGES=\*(L"package1,package2\*(R"

Sysvinit services relating to hardware access to remove REMOVE_LINKS=\*(L"klogd hwclock.sh setserial urandom networking umountfs halt reboot\*(R"

Architecture: overide on non-Debian host such as Redhat otherwise dpkg will detect whether we are i386/powerpc/sparc/etc ARCH=""

Which Debian distribution (Warning. unstable and testing distributions change frequently so you can not expect it to work out of the box). DIST=\*(L"squeeze\*(R"

Local or nearest location of a Debian mirror (must include the `/debian') MIRROR=\*(L"http://ftp.uk.debian.org/debian\*(R"

Debian-non-US mirror (must include the '/debian-non-US', only used for woody) MIRROR_NON_US=\*(L"http://non-us.debian.org/debian-non-US\*(R"

mirror for security updates MIRROR_SECURITY=\*(L"http://security.debian.org\*(R"

Default network interface for vservers: INTERFACE=\*(L"eth0\*(R"

The name of a debconf database to be read by debconf's file driver. This can be used to store the answers for debconf questions during install and thus allows for unattended installation. See the debconf.conf\|(5) manual page for the file format. DEBCONF_FILE_DB=""

AUTHOR

Author of the manual page is Ola Lundqvist <[email protected]>

RELATED TO newnfsvserver…

util-vserver\|(1), dupvserver\|(1)