2.2.2.2. Command Changes

This sections lists the most important changes to commands and their options:
  • The network --device option can now refer to devices by MAC addresses instead of device name. Similar to disks, network device names can also change across reboots depending on the order in which devices are probed. In order to allow consistent naming in Kickstart, you could use an entry similar to the following:
    network --device=00:11:22:33:44:55 --bootproto=dhcp
  • The langsupport, key and mouse commands have been removed. Any use of these commands will result in a syntax error. The monitor command has also been deprecated.
    Instead of langsupport, add the appropriate group to the %packages section of your Kickstart file. For example, to include French support, add @french-support.
    There is no replacement for the key option, as an installation key is no longer requested during install. Simply remove this option from your file.
    The mouse and monitor commands are not required as X.Org can detect and configure settings automatically. For the same reason, the xconfig --resolution= command is no longer valid, and these can all be safely removed from the file.
  • The part --start and part --end commands have been deprecated and have no effect. Anaconda no longer allows creating partitions at specific sector boundaries. If you require a more strict level of partitioning, use an external tool in %pre and then tell Anaconda to use existing partitions with the part --onpart command. Otherwise, create partitions with a certain size or use --grow.
  • Instead of creating groups manually in %post, you can now use the group command to create them for you. See the complete Kickstart documentation for more details.
  • The rescue command automatically enters the installer's rescue mode for recovery and repair. You can optionally use the --nomount (to not mount any file systems) or the --romount (mount in read-only mode) options to the rescue command.
  • The sshpw command has been added. It is used to control the accounts created in the installation environment that are remotely logged into while installation is taking place.
  • The updates command has been added, allowing you to specify the location of any updates.img file to be used during installation.
  • The fcoe command will enable the installer to activate any FCoE locations attached to the specified network interface.
  • The default autopart algorithm has changed. For all machines, autopart will create a /boot (or other special boot loader partitions as required by the architecture) and swap. For machines with at least 50 GB of free disk space, autopart will create a reasonably sized root partition (/) and the rest will be assigned to /home. For those machines with less space, only root (/) will be created.
    If you do not want a /home volume created for you, do not use autopart. Instead, specify /boot, swap and /, making sure to allow the root volume to grow as necessary.
  • Anaconda now includes a new storage filtering interface to control which devices are visible during installation. This interface corresponds to the existing ignoredisk, clearpart and zerombr commands. Because ignoredisk is optional, excluding it from the Kickstart file will not cause the filter UI to appear during installation. If you wish to use this interface, add:
    ignoredisk --interactive
  • The --size=1 --grow option from the /tmp/partition-include file can no longer be used. You must specify a reasonable default size and partitions will grow accordingly.