이 콘텐츠는 선택한 언어로 제공되지 않습니다.

2.2.2. Kickstart


This section describes what behaviors have changed in automated installations (Kickstart).

2.2.2.1. Behavioral Changes

  • Previously, a Kickstart file that did not have a network line resulted in the assumption that DHCP is used to configure the network. This was inconsistent with the rest of Kickstart in that all other missing lines mean installation will halt and prompt for input. Now, having no network line means that installation will halt and prompt for input if network access is required. If you want to continue using DHCP without interruption, add network --bootproto=dhcp to your Kickstart file. Also, the --bootproto=query option is deprecated. If you want to prompt for network configuration in the first stage of installation, use the asknetwork option.
  • In previous versions of Red Hat Enterprise Linux, the next-server DHCP option was used to specify an NFS server containing Kickstart files when the ks option is passed to the system without a value. This DHCP option has changed to server-name in Red Hat Enterprise Linux 6.
  • Traditionally, disks have been referred to throughout Kickstart by a device node name (such as sda). The Linux kernel has moved to a more dynamic method where device names are not guaranteed to be consistent across reboots, so this can complicate usage in Kickstart scripts. To accommodate stable device naming, you can use any item from /dev/disk in place of a device node name. For example, instead of:
    part / --fstype=ext4 --onpart=sda1
    Copy to Clipboard Toggle word wrap
    You could use an entry similar to one of the following:
    part / --fstype=ext4 --onpart=/dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:0-part1
    part / --fstype=ext4 --onpart=/dev/disk/by-id/ata-ST3160815AS_6RA0C882-part1
    Copy to Clipboard Toggle word wrap
    This provides a consistent way to refer to disks that is more meaningful than just sda. This is especially useful in large storage environments.
  • You can also use shell-like entries to refer to multiple disks. This is primarily intended to make it easier to use the clearpart and ignoredisk commands in large storage environments. For example, instead of:
    ignoredisk --drives=sdaa,sdab,sdac
    Copy to Clipboard Toggle word wrap
    You could use an entry similar to the following:
    ignoredisk --drives=/dev/disk/by-path/pci-0000:00:05.0-scsi-*
    Copy to Clipboard Toggle word wrap
  • Kickstart will halt with an error in more cases than previous versions. For example, if you refer to a disk that does not exist, the installation will halt and inform you of the error. This is designed to help detect errors in Kickstart files before they lead to larger problems. As a side-effect, files that are designed to be generic across different machine configurations can fail more frequently. These must be dealt with on a case-by-case basis.
  • The /tmp/netinfo file used for Kickstart network information has been removed. Anaconda now uses NetworkManager for interface configuration by default, and stores configuration in the ifcfg files in /etc/sysconfig/network-scripts/. It is possible to use this new location as a source of network settings for %pre and %post scripts.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat