mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
set SO desktop wallpaper for iso install
This commit is contained in:
@@ -2302,6 +2302,15 @@ set_default_log_size() {
|
||||
log_size_limit=$( echo "$disk_size_gb" "$percentage" | awk '{printf("%.0f", $1 * ($2/100))}')
|
||||
}
|
||||
|
||||
set_desktop_background() {
|
||||
|
||||
logCmd "mkdir /usr/local/share/backgrounds"
|
||||
logCmd "cp ../salt/desktop/files/so-wallpaper.jpg /usr/local/share/backgrounds/so-wallpaper.jpg"
|
||||
logCmd "cp ../salt/desktop/files/00-background /etc/dconf/db/local.d/00-background"
|
||||
logCmd "dconf update"
|
||||
|
||||
}
|
||||
|
||||
set_hostname() {
|
||||
|
||||
logCmd "hostnamectl set-hostname --static $HOSTNAME"
|
||||
|
||||
Reference in New Issue
Block a user