Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

05core: create top-level user symlinks on first boot #1879

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ enable rtas_errd.service
enable clevis-luks-askpass.path
# Provide status information about the Ignition run
enable coreos-ignition-write-issues.service
enable coreos-create-toplevel-symlinks.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[Unit]
Description=CoreOS Create Top-Level User Symlinks
Documentation=https://docs.fedoraproject.org/en-US/fedora-coreos/
ConditionPathExists=!/run/ostree-live
DefaultDependencies=false
RequiresMountsFor=/boot

# We run on first boot only
ConditionFirstBoot=true
Before=first-boot-complete.target systemd-machine-id-commit.service
Wants=first-boot-complete.target

# We run before anything gets mounted
Before=local-fs.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ostree admin create-toplevel-user-links

[Install]
WantedBy=local-fs.target