Skip to content

Commit

Permalink
Update units/user-configdrive.service
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Lüke <[email protected]>
  • Loading branch information
gabriel-samfira and pothos authored Mar 13, 2024
1 parent 8a67234 commit edf9bb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion units/user-configdrive.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ After=enable-oem-cloudinit.service oem-cloudinit.service
# Skip on clouds that are covered by flatcar/init:systemd/system/oem-cloudinit.service
ConditionKernelCommandLine=!flatcar.oem.id=digitalocean
ConditionKernelCommandLine=!coreos.oem.id=digitalocean

ConditionKernelCommandLine=!coreos.oem.id=openstack
ConditionKernelCommandLine=!flatcar.oem.id=openstack
[Service]
Type=oneshot
ExecCondition=/usr/bin/bash -c "if [ -f '/etc/.ignition-result.json' ] && /usr/bin/jq -e '.userConfigProvided == true' /etc/.ignition-result.json; then exit 1; fi"
Expand Down

0 comments on commit edf9bb8

Please sign in to comment.