File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ class CreateRunnerWorkloadSubCommand(SubCommand):
7676 backend : str
7777 device : str
7878 port : int
79+ host_network : bool
7980 service : str
8081 version : str
8182 namespace : str
@@ -194,11 +195,11 @@ def run(self):
194195 path = self .volume ,
195196 ),
196197 ]
197- execution = None
198+ execution = ContainerExecution (
199+ privileged = True ,
200+ )
198201 if self .extra_args :
199- execution = ContainerExecution (
200- command = self .extra_args ,
201- )
202+ execution .command = self .extra_args
202203 ports = [
203204 ContainerPort (
204205 internal = self .port ,
@@ -266,6 +267,7 @@ class CreateWorkloadSubCommand(SubCommand):
266267 backend : str
267268 device : str
268269 port : int
270+ host_network : bool
269271 namespace : str
270272 name : str
271273 image : str
@@ -382,11 +384,11 @@ def run(self):
382384 path = self .volume ,
383385 ),
384386 ]
385- execution = None
387+ execution = ContainerExecution (
388+ privileged = True ,
389+ )
386390 if self .extra_args :
387- execution = ContainerExecution (
388- command = self .extra_args ,
389- )
391+ execution .command = self .extra_args
390392 ports = [
391393 ContainerPort (
392394 internal = self .port ,
You can’t perform that action at this time.
0 commit comments