Skip to content

Commit

Permalink
add etc/ssh custom configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
frnckdlprt committed Jan 8, 2024
1 parent b5de464 commit fe43629
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generate_postmortem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ if [[ $IS_OVA -eq 1 ]]; then
find "/var/log" -name "*syslog*" -exec cp '{}' "${OVA_FILESYSTEM}"/var/log \;
find "/var/log" -name "nmon" -exec cp -r '{}' "${OVA_FILESYSTEM}"/var/log \;

#Getting contents of etc/ssh custom configuration files
cp -r --parents /etc/ssh/{ssh_config.d,sshd_config.d}/ "${OVA_FILESYSTEM}"

#Getting contents of etc/netplan
cp -r --parents /etc/netplan/ "${OVA_FILESYSTEM}"

Expand Down

0 comments on commit fe43629

Please sign in to comment.