commit | 4ec2696c87933d771a60268efcfb29aec981400f | [log] [tgz] |
---|---|---|
author | sgudz <sgudz@mirantis.com> | Mon Nov 19 19:17:13 2018 +0200 |
committer | sgudz <sgudz@mirantis.com> | Mon Nov 19 17:22:18 2018 +0000 |
tree | 011234b6a8a530486ffeedcb62ab116fbf660502 | |
parent | fc06e8766a75ff7edefd197968f62cb7c04798c3 [diff] |
Add some sleep for dnsmasq before proceed with installing packages and cloning repos Change-Id: I34152ce08f9ed879cb94a4b3198beb3810f86016
diff --git a/tcp_tests/templates/ironic_standalone/underlay--user-data-ironic.yaml b/tcp_tests/templates/ironic_standalone/underlay--user-data-ironic.yaml index b231ced..e2b63dd 100644 --- a/tcp_tests/templates/ironic_standalone/underlay--user-data-ironic.yaml +++ b/tcp_tests/templates/ironic_standalone/underlay--user-data-ironic.yaml
@@ -72,7 +72,7 @@ {%- if os_env('IRONIC_DNSMASQ_HOSTFILE', '') %} - echo "dhcp-hostsfile=/var/lib/libvirt/dnsmasq/{{ IRONIC_ENV_NAME }}.hostsfile" >> /etc/dnsmasq.conf - - service dnsmasq restart + - service dnsmasq restart && sleep 30 {%- endif %} # Enable SNAT to allow internet access for deploying nodes using ironic node as a gateway