/etc/crypttab
/etc/fstab
=
'). These options require a value to be specified. For example, the inst.vncpassword=
option must also contain a password — for example, inst.vncpassword=testpasswd
. Other options are presented without the =
sign; these options are booleans. This means that you either use them without specifying a value, or you can append either =1
or =0
to enable or disable them, respectively. For example, the rd.live.check
option is the same as rd.live.check=1
, and using rd.live.check=0
is exactly the same as not using the option at all.
Note
boot:
prompt always expects the first option to specify the image file to be loaded. When using custom boot options with the Anaconda installer, the linux
option will come first in most cases. A valid command in the boot prompt will therefore almost always look like the following:
boot:
linux options
linux
option is not displayed, but it is implied. A valid set of boot options will then be:
>
options
dracut.cmdline(7)
man page.
Note
inst.
in this guide. Currently, this prefix is optional, for example, inst.resolution=
will work exactly the same as resolution=
. However, it is expected that Anaconda will require the inst.
prefix in future releases.
Specifying the Installation Source
inst.repo=
inst.repo=cdrom
.treeinfo
file
Table 11.1. Installation Sources
Installation source | Option format |
---|---|
Any CD/DVD drive | inst.repo=cdrom |
Specific CD/DVD drive | inst.repo=cdrom:device |
Hard Drive | inst.repo=hd:device/path |
HTTP Server | inst.repo=http://host/path |
HTTPS Server | inst.repo=https://host/path |
FTP Server | inst.repo=ftp://username:password@host/path |
NFS Server | inst.repo=nfs:[options:]server:/path
[a] |
[a]
This option uses NFS protocol version 3 by default. To use a different version, add +nfsvers=X to options.
|
/dev/sda1
or sdb2
LABEL=Flash
or LABEL=RHEL7
UUID=8176c7bf-04ff-403a-a832-9557f94e61db
\xNN
, where NN is the hexadecimal representation of the character. For example, \x20
is a white space ('
').
inst.stage2=
inst.dd=
inst.dd=
option. It can be used multiple times. The location of a driver rpm package can be specified using any of the formats detailed in Specifying the Installation Source. For example:
inst.dd=cdrom
Kickstart Boot Options
inst.ks=
inst.repo
. See Specifying the Installation Source for details.
/ks.cfg
on the specified device. If you use this option without specifying a device, the installer will use the following:
inst.ks=nfs:next-server:/filename
next-server
option or the IP address of the DHCP server itself, and filename is the DHCP filename
option, or /kickstart/
. If the given file name ends with the /
character, ip-kickstart
is appended. For example:
Table 11.2. Default Kickstart File Location
DHCP server address | Client address | Kickstart file location |
---|---|---|
192.168.122.1 | 192.168.122.100 | 192.168.122.1 :/kickstart/192.168.122.100-kickstart |
inst.ks.sendmac
HTTP
requests with the MAC addresses of all network interfaces. For example:
X-RHN-Provisioning-MAC-0: eth0 01:23:45:67:89:ab
inst.ks=http
to provision systems.
inst.ks.sendsn
HTTP
requests. This header will contain the system's serial number, read from /sys/class/dmi/id/product_serial
. The header has the following syntax:
X-System-Serial-Number: R8VA23D
Console, Environment and Display Options
console=
console=ttyS0
. Implies the inst.text
option.
console=ttyS0 console=ttyS1
, the installer will use ttyS1
.
inst.lang=
lang
Kickstart command as described in Section 15.4, “Kickstart Options”. On systems where the system-config-language package is installed, a list of valid values can also be find in /usr/share/system-config-language/locale-list
.
inst.geoloc=
inst.geoloc=value
Table 11.3. Valid Values for the inst.geoloc Option
Disable geolocation | inst.geoloc=0 |
Use the Fedora GeoIP API | inst.geoloc=provider_fedora_geoip |
Use the Hostip.info GeoIP API | inst.geoloc=provider_hostip |
provider_fedora_geoip
.
inst.keymap=
keyboard
Kickstart command as described in Section 15.4, “Kickstart Options”.
inst.text
inst.cmdline
inst.graphical
inst.resolution=
640x480
.
inst.headless
inst.xdriver=
X
driver to be used both during the installation and on the installed system.
inst.usefbx
X
driver instead of a hardware-specific driver. This option is equivalent to inst.xdriver=fbdev
.
inst.sshd
sshd
service during the installation, which allows you to connect to the system during the installation using SSH
and monitor its progress. For more information on SSH, see the ssh(1)
man page and the corresponding chapter in the Fedora System Administrator's Guide.
Note
root
account has no password by default. You can set a root password to be used during the installation with the sshpw
Kickstart command as described in Section 15.4, “Kickstart Options”.
Network Boot Options
dracut.cmdline(7)
man page.
ip=
ip
option multiple times — once for each interface. If multiple interfaces are configured, you must specify a primary boot interface using the bootdev
option described below.
Table 11.4. Network Interface Configuration Formats
Configuration Method | Option format |
---|---|
Automatic configuration of any interface | ip=method |
Automatic configuration of a specific interface | ip=interface:method |
Static configuration | ip=ip::gateway:netmask:hostname:interface:none |
Automatic configuration of a specific interface with an override [a] | ip=ip::gateway:netmask:hostname:method:mtu |
[a]
Brings up the specified interface using the specified method of automatic configuration, such as dhcp , but overrides the automatically obtained IP address, gateway, netmask, hostname or other specified parameter. All parameters are optional; only specify the ones you wish to override and automatically obtained values will be used for the others.
|
method
parameter can be any the following:
Table 11.5. Automatic Interface Configuration Methods
Automatic configuration method | Value |
---|---|
DHCP | dhcp |
IPv6 DHCP | dhcp6 |
IPv6 automatic configuration | auto6 |
iBFT (iSCSI Boot Firmware Table) | ibft |
Note
inst.ks=http://host:/path
and you did not specify the ip
option, the installer will use ip=dhcp
.
IPv6
addresses can be specified by putting them in square brackets, for example, [2001:DB8::1]
.
255.255.255.0
) or a prefix (for example 64
).
nameserver=
bootdev=
ip
option.
ifname=
ifname=interface:MAC
. For example:
ifname=eth0:01:23:45:67:89:ab
inst.dhcpclass=
dhcpd
service will see this value as vendor-class-identifier
. The default value is anaconda-$(uname -srm)
.
Advanced Installation Options
inst.multilib
x86_64
) and packages for all architectures (marked as noarch
would be installed. When you use this option, packages for 32-bit AMD/Intel systems (marked as i586
, i686
, etc.) will be automatically installed as well if available.
%packages
section. If a package is only installed as a dependency, only the exact specified dependency will be installed. For example, if you are installing package foo which depends on package bar, the former will be installed in multiple variants, while the latter will only be installed in variants specifically required.
gpt
Enabling Remote Access
inst.vnc
VNC
session. If you specify this option, you will need to connect to the system using a VNC client application to be able to interact with the installer. VNC sharing is enabled, so multiple clients can connect to the system at the same time.
Note
inst.vncpassword=
inst.vncpassword=testpasswd
will set the password to testpasswd
.
inst.vncconnect=
inst.vncconnect=host:port
, where host is the address to the VNC client's host, and port specifies which port to use. The port parameter is optional, if you do not specify one, the installer will use 5900
.
Debugging and Troubleshooting
inst.updates=
updates.img
file to be applied to the installer runtime. The syntax is the same as in the inst.repo
option — see Table 11.1, “Installation Sources” for details. In all formats, if you do not specify a file name but only a directory, the installer will look for a file named updates.img
.
inst.loglevel=
debug
, info
, warning
, error
and critical
. The default value is info
, which means that by default, the logging terminal will display messages ranging from info
to critical
.
inst.syslog=
inst.virtiolog=
virtio
port (a character device at /dev/virtio-ports/name
) to be used for forwarding logs. The default value is org.fedoraproject.anaconda.log.0
; if this port is present, it will be used.