Skip to content

Commit

Permalink
overlay coreos/config: Start installing default openssh configs
Browse files Browse the repository at this point in the history
The configs provided by the openssh and Gentoo projects usually keep
everything commented out, meaning that the default values will be
used. On top of that, they will also include snippets in the snippet
directory. As such, start installing the default configs. The only
thing specified outright is the Subsystem key, which is overridden by
our config snippet from coreos-base/misc-files.
  • Loading branch information
Flatcar Buildbot authored and krnowak committed Sep 26, 2023
1 parent c906234 commit b820e0c
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# We install these with our chromeos-base package.
# Do not install the setuid file in production images.
# Do not install the config snippet that defines a subsystem.
if [[ $(cros_target) != "cros_host" ]] ; then
openssh_mask="
/etc/ssh/ssh_config
/etc/ssh/sshd_config
/etc/ssh/ssh_config.d
/etc/ssh/sshd_config.d
/usr/lib*/misc/ssh-keysign
"
openssh_mask="/usr/lib*/misc/ssh-keysign /etc/ssh/sshd_config.d/*gentoo-subsystem.conf"
PKG_INSTALL_MASK+=" ${openssh_mask}"
INSTALL_MASK+=" ${openssh_mask}"
unset openssh_mask
Expand Down

0 comments on commit b820e0c

Please sign in to comment.