Skip to content

Commit

Permalink
[Arista] Fix dockerd issue on Arista platforms (sonic-net#7376)
Browse files Browse the repository at this point in the history
Why I did it
Recent systemd upgrade from sonic-net#7228 requires an extra cmdline parameter for dockerd to start properly.
Updating boot0 was missed as part of the systemd upgrade change.

How I did it
Just added the missing cmdline parameter in files/Aboot/boot0.j2
This change fixes sonic-net#7372

How to verify it
Boot the image and dockerd should start normally.
  • Loading branch information
Staphylo authored and Carl Keene committed Aug 7, 2021
1 parent 39caf70 commit e067edc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/Aboot/boot0.j2
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,9 @@ write_image_specific_cmdline() {
# disable deterministic interface naming
cmdline_add net.ifnames=0

# disable unified cgroup hierarchy to workaround dockerd limitation
cmdline_add systemd.unified_cgroup_hierarchy=0

# verbosity
cmdline_add quiet
# Start showing systemd information from the first failing unit if any.
Expand Down

0 comments on commit e067edc

Please sign in to comment.