Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-07 | firstboot: get rid of firstboot generator again, introduce ↵ | Lennart Poettering | |
ConditionFirstBoot= instead As Zbigniew pointed out a new ConditionFirstBoot= appears like the nicer way to hook in systemd-firstboot.service on first boots (those with /etc unpopulated), so let's do this, and get rid of the generator again. | |||
2014-07-07 | firstboot: follow lock protocol when changing /etc/shadow | Lennart Poettering | |
2014-07-07 | firstboot: change /etc/shadow access mode to 000 | Lennart Poettering | |
It appears to be customary to remove all access bits from /etc/shadow including those for the root owner), hence let's do the same. | |||
2014-07-07 | firstboot: add new component to query basic system settings on first boot, ↵ | Lennart Poettering | |
or when creating OS images offline A new tool "systemd-firstboot" can be used either interactively on boot, where it will query basic locale, timezone, hostname, root password information and set it. Or it can be used non-interactively from the command line when prepareing disk images for booting. When used non-inertactively the tool can either copy settings from the host, or take settings on the command line. $ systemd-firstboot --root=/path/to/my/new/root --copy-locale --copy-root-password --hostname=waldi The tool will be automatically invoked (interactively) now on first boot if /etc is found unpopulated. This also creates the infrastructure for generators to be notified via an environment variable whether they are running on the first boot, or not. |