Skip to content

Commit

Permalink
mantle/kola: add wait-device-timeout to connection in miniso-install-…
Browse files Browse the repository at this point in the history
…nm testiso test

In rawhide there was some changes recently to cause the device to come
up slightly later. We need to set wait-device-timeout so that
NetworkManager-wait-online.service will wait and the
coreos-test-nm-keyfile.service will run after the connection is up.

Closes coreos/fedora-coreos-tracker#1275
  • Loading branch information
dustymabe authored and jlebon committed Aug 30, 2022
1 parent 03f8650 commit bf828c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mantle/cmd/kola/testiso.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ var nmConnectionFile = "coreos-dhcp.nmconnection"
var nmConnection = fmt.Sprintf(`[connection]
id=%s
type=ethernet
# add wait-device-timeout here so we make sure NetworkManager-wait-online.service will
# wait for a device to be present before exiting. See
# https://github.com/coreos/fedora-coreos-tracker/issues/1275#issuecomment-1231605438
wait-device-timeout=20000
[ipv4]
method=auto
Expand Down

0 comments on commit bf828c2

Please sign in to comment.