Skip to content

Commit 26626bb

Browse files
committed
Replace PrepareSystem with PrepareKernel and remove GeoIP persistent storage.
Updated function calls in cloud.go and master.go to use PrepareKernel for better clarity and consistency. Removed GeoIP-related configuration and volumes as they are no longer required in the application setup. Cleaned up related references in config and compose configurations.
1 parent a9df5cf commit 26626bb

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

correlation/config.yml.prod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
rulesFolder: /app/rulesets/
2-
geoipFolder: /app/geosets/
32
elasticsearch: "http://ELASTICSEARCH_HOST:ELASTICSEARCH_PORT"
43
postgresql:
54
server: POSTGRESQL_HOST

installer/cloud.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func Cloud(c *types.Config, update bool) error {
5555

5656
if utils.GetLock(202402081552, stack.LocksDir) {
5757
fmt.Println("Preparing kernel to run UTMStack")
58-
if err := PrepareSystem(); err != nil {
58+
if err := PrepareKernel(); err != nil {
5959
return err
6060
}
6161

installer/master.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func Master(c *types.Config) error {
5555

5656
if utils.GetLock(202402081552, stack.LocksDir) {
5757
fmt.Println("Preparing kernel to run UTMStack")
58-
if err := PrepareSystem(); err != nil {
58+
if err := PrepareKernel(); err != nil {
5959
return err
6060
}
6161

installer/types/compose.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
431431
},
432432
Volumes: []string{
433433
stack.Rules + ":/app/rulesets",
434-
"geoip_data:/app/geosets",
435434
},
436435
Environment: []string{
437436
"SERVER_NAME=" + conf.ServerName,
@@ -615,10 +614,6 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
615614
"external": false,
616615
}
617616

618-
c.Volumes["geoip_data"] = Volume{
619-
"external": false,
620-
}
621-
622617
c.Volumes["agent_manager"] = Volume{
623618
"external": false,
624619
}

0 commit comments

Comments
 (0)