mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
[feat] Generate gzipped tarball of repo during setup and soup
This commit is contained in:
@@ -972,6 +972,10 @@ generate_passwords(){
|
||||
KRATOSKEY=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 20 | head -n 1)
|
||||
}
|
||||
|
||||
generate_repo_tarball() {
|
||||
tar -czf /opt/so/repo/"$SOVERSION".tar.gz ../.
|
||||
}
|
||||
|
||||
get_redirect() {
|
||||
whiptail_set_redirect
|
||||
if [ "$REDIRECTINFO" = "OTHER" ]; then
|
||||
|
||||
Reference in New Issue
Block a user