SpecialistOff.NET / Вопросы / Статьи / Фрагменты кода / Резюме / Метки / Помощь / Файлы

Назад

anaconda --help


Метки: anaconda

usage: anaconda [-h] [--version] [-G] [-T] [-C] [--noninteractive] [--profile PROFILE_ID] [--proxy PROXY_URL] [--waitfornet TIMEOUT_IN_SECONDS] [-d] [--ks]
                [--kickstart KICKSTART_PATH] [--ksstrict] [--rescue] [--armplatform PLATFORM_ID] [--multilib] [-m METHOD] [--repo REPO_URL] [--stage2 STAGE2_URL]
                [--addrepo NAME,ADDITIONAL_REPO_URL] [--noverifyssl] [--liveinst] [--resolution WIDTHxHEIGHT] [--usefbx] [--vnc] [--vncconnect HOST:PORT] [--vncpassword PASSWORD]
                [--xdriver DRIVER] [--xtimeout TIMEOUT_IN_SECONDS] [--keymap KEYMAP] [--lang LANG] [--syslog HOST[:PORT]] [--remotelog HOST:PORT]
                [--virtiolog /dev/virtio-ports/NAME] [--noselinux] [--selinux [SELINUX]] [--nompath] [--mpath] [--gpt] [--nodmraid] [--dmraid] [--noibft] [--ibft]
                [--nonibftiscsiboot] [--geoloc PROVIDER_ID] [--geoloc-use-with-ks] [--nosave [NOSAVE]] [--nomount] [--updates UPDATES_URL] [--image IMAGE_SPEC]
                [--dirinstall [DIRINSTALL]] [--memcheck] [--nomemcheck] [--leavebootorder] [--noeject] [--extlinux] [--nombr] [--mpathfriendlynames] [--kexec]

Anaconda is the installation program used by Fedora, Red Hat Enterprise Linux and some other distributions.

options:
  -h, --help
        show this help message and exit
  --version
        show program's version number and exit
  -G, --graphical
        Force graphical installation. A graphical installation implies that the installed system will boot up into graphical.target, using whichever display manager is in use by the
        default desktop (gdm for GNOME, kdm for KDE).
  -T, --text
        Force text mode installation. This also implies that the installed system will boot up in text mode instead of to the graphical login screen.
  -C, --cmdline
        Force command line installation mode. This mode simply prints out text and does not allow any interactivity. All options must be specified either in a kickstart file or on
        the command line. If all required options are not specified, the installation will terminate immediately. If running in PXE, network or media installation mode Anaconda will
        also reboot the machine. This can be prevented by passing the "inst.nokill" boot option.
  --noninteractive
  --profile PROFILE_ID
        Use a profile configuration file with the specified profile id. The installer will be customized based on configuration files from /etc/anaconda/profile.d that are specific
        for this profile.
  --proxy PROXY_URL
        Use the given proxy settings when performing an installation from a HTTP/HTTPS/FTP source. The PROXY_URL can be specified like this:
        [PROTOCOL://][USERNAME[:PASSWORD]@]HOST[:PORT]
  --waitfornet TIMEOUT_IN_SECONDS
        Wait for network connectivity at the beginning of the installation with the timeout in seconds specified as a mandatory value of the option.
  -d, --debug
        Run the installer in the debugging mode.
  --ks  Gives the location of the kickstart file to be used for installation. The KICKSTART_URL supports fetching kickstarts from HTTP/S, FTP, NFS, from a local file, from a local
        harddrive, from an optical disk and from BIOS RAID sets. For details on the KICKSTART_URL syntax see the Anaconda options wiki page:
        http://fedoraproject.org/wiki/Anaconda_Boot_Options
  --kickstart KICKSTART_PATH
        Gives the local file path to use for kickstart. Normally only used when running anaconda from the cmdline. This option is not supported for live installations.
  --ksstrict
        With this option, all warnings from reading the kickstart file will be treated as errors. They will be printed on the output and the installation will terminate immediately.
        By default, the warnings are printed to logs and the installation continues.
  --rescue
        Start the rescue environment instead of installation. This option is not supported for live installations.
  --armplatform PLATFORM_ID
        This option is deprecated.
  --multilib
        Enable dnf's multlib_policy of "all" instead of the default of "best".
  -m METHOD, --method METHOD
        This option is deprecated in favor of the repo option. For now, it does the same thing as repo, but will be removed in the future.
  --repo REPO_URL
        This option tells Anaconda where to find the packages for installation. This option must point to a valid package repository (or, for some protocols, a Fedora DVD ISO
        image). It is analogous to the older method option, but repo makes it more clear exactly what is meant. This option may appear only once on the command line. It corresponds
        to the kickstart command install (whereas kickstart command repo is used for additional repositories). As of Fedora 16, you can (optionally) add a specific .iso file to the
        path. If no inst.root or inst.stage2 parameter is passed, this location will also be used as the source for the installer runtime image. For more information about the
        REPO_URL format check the Anaconda option documentation, available on: http://fedoraproject.org/wiki/Anaconda_Boot_Options
  --stage2 STAGE2_URL
        The STAGE2_URL specifies a path to a repository containing a stage2 (squashfs.img) file instead of to an installation source. Follows the same syntax as the repo option. If
        this parameter is provided, it takes precedence over all other methods of finding the install.img. Otherwise, Anaconda will attempt to find the install.img first on any
        existing CD, and then from the location given by repo. If only the stage2 option is given without repo, Anaconda will use whatever repos the installed system would have
        enabled by default for installation. For instance, an install of a Fedora release will attempt to use the Fedora mirrorlist given by /etc/yum.repos.d/fedora.repo from that
        release.
  --addrepo NAME,ADDITIONAL_REPO_URL
        This option adds additional repositories to the installation. These repositories are used during installation but they are not saved to the installed system. Repository must
        be specified in the '<name>,<url>' format, where name can't contain space and <url> have to be in a supported format. Supported formats can be found here:
        http://rhinstaller.github.io/anaconda/boot-options.html#inst-addrepo
  --noverifyssl
        Prevents Anaconda from verifying the ssl certificate for all HTTPS connections with an exception of the additional kickstart repos (where --noverifyssl can be set per repo).
  --liveinst
        Run in live installation mode.
  --resolution WIDTHxHEIGHT
        Run GUI installer in the resolution specified, "1024x768" for example.
  --usefbx
        Use the framebuffer X driver instead of attempting to use a hardware-specific one.
  --vnc
        Enable VNC-based installation. You will need to connect to the machine using a VNC client application. A VNC install implies that the installed system will boot up in
        runlevel 3 instead of to the graphical login screen. The VNC session will be shared. Consider setting a VNC password using the vncpassword option.
  --vncconnect HOST:PORT
        Once installation is up and running, connect to the VNC client named HOST, and optionally use port PORT.
  --vncpassword PASSWORD
        Enable a password for the VNC connection. This will prevent someone from inadvertently connecting to the vnc-based installation. Requires the VNC option to be specified as
        well. If you have specified vncconnect the PASSWORD will not be used unless connection to host is not possible. Please note that the password needs to be 6 to 8 characters
        long (limitation of the VNC protocol).
  --xdriver DRIVER
        Use DRIVER as the X driver to use during installation as well as on the installed system.
  --xtimeout TIMEOUT_IN_SECONDS
        Specify the timeout in seconds for starting X server.
  --keymap KEYMAP
        Keyboard layout to use during installation and on the installed system. Valid KEYMAP values are those which can be used for the keyboard kickstart command.
  --lang LANG
        Language to use for the installation. LANG should be a language code which is valid to be used with the lang kickstart command.
  --syslog HOST[:PORT]
        Once installation is up and running, send log messages to the syslog process on HOST, and optionally, on TCP port PORT. Requires the remote syslog process to accept incoming
        connections.
  --remotelog HOST:PORT
        Send all the logs to a remote host:port using a TCP connection. The connection will be retried if there is no listener (ie. won't block the installation).
  --virtiolog /dev/virtio-ports/NAME
        Forward logs through the named virtio port (a character device at /dev/virtio-ports/<name>). If not provided, a port named org.fedoraproject.anaconda.log.0 will be used by
        default, if found.
  --noselinux
        Disable SELinux usage on the installed system.
  --selinux [SELINUX]
        Enable SELinux usage in the installed system (default). Note that when used as a boot option, "selinux" and "inst.selinux" are not the same. The "selinux" option is picked
        up by both the kernel and Anaconda, but "inst.selinux" is processed only by Anaconda. So when "selinux=0" is used, SELinux will be disabled both in the installation
        environment and in the installed system, but when "inst.selinux=0" is used SELinux will only be disabled in the installed system. Also note that while SELinux is running in
        the installation environment by default, it is running in permissive mode so disabling it there does not make much sense.
  --nompath
  --mpath
  --gpt
        Prefer creation of GPT disklabels.
  --nodmraid
        Disable dmraid usage during the installation.
  --dmraid
        Enable dmraid (Device Mapper software RAID) usage during the installation (default).
  --noibft
        Disable iBFT usage during the installation.
  --ibft
        Enable iBFT (iSCSI Boot Firmware Table) usage during the installation (default).
  --nonibftiscsiboot
  --geoloc PROVIDER_ID
        Configure geolocation usage in Anaconda. Geolocation is used to pre-set language and time zone. The following values for PROVIDER_ID are supported: 0 - disable geolocation,
        "provider_fedora_geoip" - use the Fedora GeoIP API (default) and "provider_hostip" - use the Hostip.info GeoIP API.
  --geoloc-use-with-ks
        Enable geolocation even during a kickstart installation (both partial and fully automatic). Otherwise geolocation is only enabled during a fully interactive installation.
  --nosave [NOSAVE]
        This option controls what installation results should not be saved to the installed system, valid values are: "input_ks", "output_ks", "all_ks", "logs" and "all". The
        "input_ks" value disables saving of the input kickstart (if any), "output_ks" disables saving of the output kickstart generated by Anaconda, "all_ks" disables saving of both
        input and output kickstarts, "logs" disables saving of all installation logs and "all" disables saving of all kickstarts and all logs. Multiple values can be combined as a
        comma separated list, for example: "all_ks,logs"
  --nomount
        Don't automatically mount any installed Linux partitions in rescue mode.
  --updates UPDATES_URL
        Path to an updates image that is on local filesystem or available over FTP or HTTP. UPDATES_URL must be either a local filesystem path, a network URL or <disk>:<path> where
        <disk> can be one of sdX, /dev/sdX, LABEL=xxx, UUID=xxx and <path> defaults to /updates.img if missing. See the Anaconda docs for more details about the path specification.
        Please note that the updates image only updates the installation environment and is completely unrelated to package updates.
  --image IMAGE_SPEC
        Specification of disk image file to be used as installation destination. IMAGE_SPEC must have format <path>[:<name>] where <path> specifies the path of an image file and an
        optional <name> component is used to identify the disk during installation. <path> must be a local path but it may be relative or absolute. If <name> is not specified, a
        name is synthesized from the basename of <path>. <name> may not contain a colon or a slash. This option may be used multiple times to specify multiple disk images. It is an
        error to specify the same <path> twice or to use duplicate names. The --image and --dirinstall options are mutually exclusive.
  --dirinstall [DIRINSTALL]
        Use the device mounted at /mnt/sysimage as the installation destination. The --dirinstall and --image options are mutually exclusive. The /mnt/sysimage directory can be
        overridden by setting the ANACONDA_ROOT_PATH environmental variable before starting anaconda.
  --memcheck
        Check if the system has enough RAM to complete the installation and abort if it doesn't. Please note that this check is approximate and that memory usage during installation
        depends on the package selection, user interface (graphical vs text) and other parameters.
  --nomemcheck
        Do not check if the system has enough RAM to complete the installation. Of course, any attempt to install with less than the safe minimum amount of memory may fail and is
        unsupported.
  --leavebootorder
        Boot the drives in their existing order, to override the default of booting into the newly installed drive on Power Systems servers and EFI systems. This is useful for
        systems that, for example, should network boot first before falling back to a local boot.
  --noeject
        Don't eject the installation CD/DVD (if any) once the installation has been completed. Ignored for image, directory and livecd installs.
  --extlinux
        Use extlinux as the bootloader. Note that there's no attempt to validate that this will work for your platform or anything; it assumes that if you ask for it, you want to
        try.
  --nombr
  --mpathfriendlynames
        Tell multipathd to use user friendly names when naming devices during the installation. See the multipathd documentation for more info.
  --kexec
        Reboot the system using kexec with the new kernel and initrd. This will result in a faster reboot by skipping the BIOS/Firmware and bootloader steps.