Kickstart Command Options

Source: Internet
Author: User

The following options can be placed in the kickstart file. if you prefer to use a graphical interface to create a kickstart file, you can use the "Kickstart configuration" application. (Note: If an option is followed by an equal sign (=), it must be followed by a value. in the example command, the options in brackets ([]) are optional parameters of the command .)

Ignoredisk (optional)
This causes the installer to ignore the specified disk. This is useful if automatic partitioning is used and you want to ignore some disks.
For example, if you try to deploy an ignoredisk in the SAN-cluster system, kickstart will fail,
Because the installer detects that SAN does not return the passive path of the Partition Table (passivepath ).
If multiple paths of a disk exist, the ignoredisk option is also useful.
Syntax:
Ignoredisk -- drives = drive1, drive2 ,...
Here driveN is one of sda, sdb... hda, etc.
 
Autostep (optional)
Similar to interactive, except for entering the next screen, it is usually used for debugging.
-- Autoscreenshot: screenshots are taken at every step of the installation process, and images are copied to/root/anaconda-screenshots after installation. This is useful for creating documents.
 
Auth or authconfig (required)
Set verification options for the system. This is similar to running the authconfig command after installation. By default, the password is usually encrypted but shadowed is not used ).
-- Enablemd5: each user password is encrypted with md5.
-- Enablenis: enable NIS support. By default, -- enablenis uses the domain found on the network. The domain should always be set manually with the -- nisdomain = option.
-- Nisdomain =: the NIS domain name used in the NIS service.
-- Nisserver =, used to provide the NIS Service Server (broadcast by default ).
-- Useshadow or -- enableshadow. Use the password to block the shadow.
-- Enableldap, in/etc/nsswitch. conf enables LDAP support and allows the system to obtain user information (UIDs, Home Directory, shell, etc.) from the LDAP directory ). to use this option, you must install the nss_ldap software package. you must also use -- ldapserver = and -- ldapbasedn = to specify the server and baseDN (distinguishedname ).
-- Enableldapauth: LDAP is used as a verification method. this enables the pam_ldap module used to verify and change the password in the LDAP directory. to use this option, you must install the nss_ldap software package. you must also use -- ldapserver = and -- ldapbasedn = to specify the server and baseDN.
-- Ldapserver =. If -- enableldap or -- enableldapauth is specified, use this option to specify the name of the LDAP server in use. This option is set in the/etc/ldap. conf file.
-- Ldapbasedn =: If -- enableldap or -- enableldapauth is specified, use this option to specify the DN in the LDAP directory tree where user information is stored. this option is available in/etc/ldap. in the conf file.
-- Enableldaptls: Use TLS (Transport Layer Security) lookup. This option allows LDAP to send encrypted user names and passwords to the LDAP server before authentication.
-- Enablekrb5: Use os5. kerberos does not know the main directory, UID or shell. if Kerberos is enabled, you must enable LDAP, NIS, Hesiod, or use the/usr/sbin/useradd command to notify the workstation of the user's account. if you use this option, you must install the pam_krb5 package.
-- Krb5realm =: The worker os5 field to which the workstation belongs.
-- Krb5kdc =: KDC that provides services for domain requests. If there are multiple KDC in the domain, use commas (,) to separate them.
-- Krb5adminserver =: KDC of kadmind is also running in the domain. This server handles password change and other management requests. If there is more than one KDC, this server must be the primary KDC.
-- Enablehesiod: enables the Hesiod support to find the user's home directory, UID and shell. set and use more Hesiod information in the network, which can be included in the glibc package/usr/share/doc/glibc-2.x.x/README. in hesiod. hesiod is a DNS extension that uses DNS records to store user, group, and other information.
-- Hesiodlhs, HesiodLHS ("left-handside") options in/etc/hesiod. conf. the Hesiod library uses this option to determine the DNS name to search for information, similar to the use of baseDN in LDAP.
-- Hesiodrhs, HesiodRHS ("right-handside") options in/etc/hesiod. conf. the Hesiod library uses this option to determine the DNS name to search for information, similar to the use of baseDN in LDAP.
-- Enablesmbauth: enables user authentication for SMB servers (typically Samba or Windows servers. the main directory, UID, or shell are unknown for SMB authentication. if SMB is enabled, the user account must be known to the workstation by enabling LDAP, NIS, Hesiod, or the/usr/sbin/useradd command. to use this option, you must install the pam_smb package.
-- Smbservers = indicates the name of the server used for SMB verification. More than one server must be specified and separated by commas.
-- Smbworkgroup =, the name of the SMB server workgroup.
-- Enablecache: Enable the nscd service. the nscd service caches user, group, and other types of information. caching is especially useful if you use NIS, LDAP, or hesiod to distribute user and group information on the network.
 
Bootloader (required)
Specifies how the boot loader is installed. This option is required for installation and upgrade.
-- Append =, specify the kernel parameters. Specify multiple parameters and use spaces to separate them.
Example: bootloader -- location = mbr -- append = "hdd = ide-scsiide = nodma"
-- Driveorder: Specifies the first drive in the BIOS boot sequence.
Example: bootloader -- driveorder = sda, hda
-- Location = specifies the location where the Boot Record is written. valid values: mbr (default), partition (install the boot loader in the first sector of the partition containing the kernel), or none (do not install the boot loader ).
-- Password =: If GRUB is used, set the password of the GRUB boot loader to the location specified by this option. This should be used to restrict access to GRUBshell that can pass in any kernel parameter.
-- Md5pass =: If GRUB is used, this is similar to -- password =, but the password has been encrypted.
-- Upgrade: upgrade the existing Boot Loader configuration and keep the original project. This option is only available for upgrade.
Clearpart (optional)
Delete a partition from the system before creating a new partition. No partition is deleted by default.
Note: If the clearpart command is used, the -- onpart command cannot be used in logical partitions.
-- All: delete all partitions in the system.
-- Drives =, specifies the drive from which the partition is cleared.
For example, the following command clears all partitions on the first two drives on the primary IDE Controller
Clearpart -- drives = hda, hdb -- all
-- Initlabel: Initialize the disk label as the default setting according to different architectures (for example, msdos is used for x86 while gpt is used for Itanium ). this is useful when installing a new hard disk. The installer does not ask whether the disk tag should be initialized.
-- Linux: delete all Linux partitions.
-- None (default). Do not delete any partitions.
 
Using line (optional)
Installation in fully non-interactive command line mode. Any interactive prompts will terminate the installation. This mode is useful for IBMSystemz systems with x3270 console.
 
Device (optional)
In most PCI systems, the installer automatically detects the ethernet card and scsicard correctly. however, in old systems and some PCI systems, kickstart needs to prompt to find the right device. the device command is used to tell the installer to install additional modules in the following format:
Device <type> <moduleName> -- opts = <options>
<Type>, replaced by scsi or eth
<ModuleName>, replace it with the name of the kernel module to be installed.
-- Opts =, the option passed to the kernel module. Note that if you put the option in quotation marks, you can pass multiple options.
Example: -- opts = "aic152x = 0x340io = 11"
 
Driverdisk (optional)
You can use a drive floppy disk during kickstart installation. the content of the drive floppy disk must be copied to the root directory of the system's hard disk partition. then, you must use the driverdisk command to tell the installer where to find the drive disk.
Driverdisk <partition> [-- type = <fstype>]
You can also specify a network location for the driver Disk:
Driverdisk -- source = ftp: // path/to/dd. img
Driverdisk -- source = http: // path/to/dd. img
Driverdisk -- source = nfs: host:/path/to/img
<Partition>, contains the driver disk partition.
-- Type =, file system type (such as vfat, ext2, ext3 ).

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.