File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def container_image_name
69
69
end
70
70
71
71
def container_image
72
- ENV [ "OPENTOFU_RUNNER_IMAGE" ] || worker_settings [ :container_image ] || default_image
72
+ ENV [ "OPENTOFU_RUNNER_IMAGE" ] || default_image
73
73
end
74
74
75
75
def enable_systemd_unit
@@ -91,8 +91,7 @@ def systemd_environment_variables
91
91
"DATABASE_HOSTNAME" => database_configuration [ :host ] ,
92
92
"DATABASE_NAME" => database_configuration [ :database ] ,
93
93
"DATABASE_USERNAME" => database_configuration [ :username ] ,
94
- "MEMCACHE_SERVERS" => ::Settings . session . memcache_server ,
95
- "OPENTOFU_RUNNER_IMAGE" => container_image
94
+ "MEMCACHE_SERVERS" => ::Settings . session . memcache_server
96
95
}
97
96
end
98
97
Original file line number Diff line number Diff line change 17
17
:workers :
18
18
:worker_base :
19
19
:opentofu_worker :
20
- :container_image : docker.io/manageiq/opentofu-runner:latest
21
20
:heartbeat_timeout :
22
21
:opentofu_offline : false
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ User=manageiq
13
13
Group =manageiq
14
14
Slice =manageiq.slice
15
15
Environment =PODMAN_SYSTEMD_UNIT =%n
16
+ EnvironmentFile =/etc/default/manageiq-container-images.properties
16
17
KillMode =mixed
17
18
Delegate =yes
18
19
Type =notify
You can’t perform that action at this time.
0 commit comments