Skip to content

Commit

Permalink
Merge pull request #105 from flatcar/tormath1/coreos-metadata
Browse files Browse the repository at this point in the history
systemd/system: `upholds` does not respect conditions
  • Loading branch information
tormath1 authored Sep 12, 2023
2 parents 46490ae + 189c3d0 commit 2815942
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions systemd/system/sshkeys.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ ConditionKernelCommandLine=|ignition.platform.id=gce
ConditionKernelCommandLine=|flatcar.oem.id=gce
ConditionKernelCommandLine=|coreos.oem.id=gce

Upholds[email protected]

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true
ExecStart=/usr/bin/systemctl start [email protected]

[Install]
WantedBy=multi-user.target

0 comments on commit 2815942

Please sign in to comment.