trove/integration/scripts/files/elements/ubuntu-xenial-guest/install.d/22-decrease-networking-timeout
Lingxian Kong 523d66e8fd Fix CI job
* Fix pep8: ambiguous variable name
* Install Python 3.7 for trove guest image. oslo.concurrency requires
  python 3.6 or newer. See
  https://bugs.launchpad.net/tripleo/+bug/1861803
* Mark tempest job non-voting temporarily because of some tempest bugs.

Change-Id: I6d316779cc7220a855ce187437056b667bbe1f75
2020-05-25 17:37:38 +12:00

8 lines
300 B
Bash
Executable File

#!/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