Skip to content

Commit a62d70b

Browse files
committed
gvforwarder: Remove ExecStartPre from systemd unit
The loop waiting for the network device is redundant with `After=sys-devices-virtual-net-%i.device` Signed-off-by: Christophe Fergeau <[email protected]>
1 parent fe2f998 commit a62d70b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

createdisk.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ Restart=on-failure
115115
Environment="GV_VSOCK_PORT=1024"
116116
EnvironmentFile=-/etc/sysconfig/gv-user-network
117117
ExecCondition=/bin/sh -c '! /usr/local/bin/crc-check-cloud-env.sh'
118-
ExecStartPre=/bin/sh -c 'for i in {1..10}; do ip link show "\\\$1" && exit 0; sleep 1; done; exit 1' _ %i
119118
ExecStart=/usr/libexec/podman/gvforwarder -preexisting -iface %i -url vsock://2:"\\\${GV_VSOCK_PORT}"/connect
120119
121120
[Install]

0 commit comments

Comments
 (0)