Skip to content

Commit

Permalink
kola/spawn: enable internet access
Browse files Browse the repository at this point in the history
Regression from coreos#1514. `kola spawn` is for users, so just always enable
Internet access there. In the future we could have `--no-net` control
this knob too if the need arises.

This is needed by the rpm-ostree CI which uses `kola` to bring up nodes.
  • Loading branch information
jlebon committed Jul 16, 2020
1 parent 4d952b5 commit 578b09b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mantle/cmd/kola/spawn.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func runSpawn(cmd *cobra.Command, args []string) error {
cluster, err := flight.NewCluster(&platform.RuntimeConfig{
OutputDir: outputDir,
AllowFailedUnits: true,
InternetAccess: true,
})
if err != nil {
return errors.Wrapf(err, "Cluster failed")
Expand Down

0 comments on commit 578b09b

Please sign in to comment.