2.2.2.2. Command Changes
This sections lists the most important changes to commands and their options:
- The
network --deviceoption 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
network --device=00:11:22:33:44:55 --bootproto=dhcpCopy to Clipboard Copied! Toggle word wrap Toggle overflow - The
langsupport,keyandmousecommands have been removed. Any use of these commands will result in a syntax error. Themonitorcommand has also been deprecated.Instead oflangsupport, add the appropriate group to the%packagessection of your Kickstart file. For example, to include French support, add@french-support.There is no replacement for thekeyoption, as an installation key is no longer requested during install. Simply remove this option from your file.Themouseandmonitorcommands are not required as X.Org can detect and configure settings automatically. For the same reason, thexconfig --resolution=command is no longer valid, and these can all be safely removed from the file. - The
part --startandpart --endcommands 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%preand then tell Anaconda to use existing partitions with thepart --onpartcommand. Otherwise, create partitions with a certain size or use--grow. - Instead of creating groups manually in
%post, you can now use thegroupcommand to create them for you. See the complete Kickstart documentation for more details. - The
rescuecommand 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 therescuecommand. - The
sshpwcommand 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
updatescommand has been added, allowing you to specify the location of anyupdates.imgfile to be used during installation. - The
fcoecommand 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/homevolume 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,clearpartandzerombrcommands. Becauseignorediskis 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
ignoredisk --interactiveCopy to Clipboard Copied! Toggle word wrap Toggle overflow - The
--size=1 --growoption from the/tmp/partition-includefile can no longer be used. You must specify a reasonable default size and partitions will grow accordingly.