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 25, 2023
1 parent 2b1e65d commit a83dd42
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# We install these with our chromeos-base package.
# Do not install the setuid file in production images.
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"
PKG_INSTALL_MASK+=" ${openssh_mask}"
INSTALL_MASK+=" ${openssh_mask}"
unset openssh_mask
Expand Down

0 comments on commit a83dd42

Please sign in to comment.