summaryrefslogtreecommitdiff
path: root/integration/scripts/files/elements/ubuntu-xenial-guest/install.d/22-decrease-networking-timeout
blob: 036d5ff2199cc71c912b88d323249ea2bd351a2e (plain)
1
2
3
4
5
6
7
#!/bin/sh

# Fix the issue that 'a start job is running for the raise network' during startup takes too much time.

mkdir -p /etc/systemd/system/networking.service.d/
bash -c 'echo -e "[Service]\nTimeoutStartSec=20sec" > /etc/systemd/system/networking.service.d/timeout.conf'
systemctl daemon-reload