Skip to content

Commit

Permalink
🐛 Drop sundo modification from ubuntu flavors
Browse files Browse the repository at this point in the history
We were "fixing" the sudo command but that resulted in sudo not working
on livecd and weird behaviour.

Leave it as it is as it should come with proper perms from the package
directly

Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Sep 14, 2023
1 parent 3a7753b commit 819bbb5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions images/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,5 @@ RUN ln -s /usr/bin/grub-editenv /usr/bin/grub2-editenv
RUN systemctl enable systemd-networkd
RUN systemctl enable ssh

# Fixup sudo perms
RUN chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo

# Clear cache
RUN rm -rf /var/cache/* && journalctl --vacuum-size=1K && rm /etc/machine-id && rm /var/lib/dbus/machine-id && rm /etc/hostname

0 comments on commit 819bbb5

Please sign in to comment.