table of contents
SYSTEMD-FIRSTBOOT(1) | systemd-firstboot | SYSTEMD-FIRSTBOOT(1) |
NAME¶
systemd-firstboot, systemd-firstboot.service - Initialize basic system settings on or before the first boot-up of a system
SYNOPSIS¶
systemd-firstboot [OPTIONS...]
systemd-firstboot.service
DESCRIPTION¶
systemd-firstboot initializes the most basic system settings interactively on the first boot, or optionally non-interactively when a system image is created. The following settings may be set up:
Each of the fields may either be queried interactively from the users, set non-interactively on the tool's command line, or be copied from a host system that is used to set up the system image.
If a setting is already initialized it will not be overwritten and the user will not be prompted for the setting.
Note that this tool operates directly on the file system and does not involve any running system services, unlike localectl(1), timedatectl(1) or hostnamectl(1). This allows systemd-firstboot to operate on mounted but not booted disk images and in early boot. It is not recommended to use systemd-firstboot on the running system while it is up.
OPTIONS¶
The following options are understood:
--root=root
--locale=LOCALE, --locale-messages=LOCALE
--timezone=TIMEZONE
--hostname=HOSTNAME
--machine-id=ID
--root-password=PASSWORD, --root-password-file=PATH
--prompt-locale, --prompt-timezone, --prompt-hostname, --prompt-root-password
--prompt
--copy-locale, --copy-timezone, --copy-root-password
--copy
--setup-machine-id
-h, --help
--version
EXIT STATUS¶
On success, 0 is returned, a non-zero failure code otherwise.
SEE ALSO¶
systemd(1), locale.conf(5), localtime(5), hostname(5), machine-id(5), shadow(5), systemd-machine-id-setup(1), localectl(1), timedatectl(1), hostnamectl(1)
systemd 219 |