trove/integration/scripts/files/elements/no-resolvconf
Lingxian Kong dfa5ce93d5 Improve devmode=flase when building the image
During debugging, the following changes are also included:

- Support to specify an image ID to run the integration test.
- Fix the reboot function bug.
- Remove the unsuccessful restart test.

How to run integration test with dev_mode=false:

    ADMIN_PASSWORD=password \
    SERVICE_PASSWORD=password \
    DEV_MODE=false \
    /opt/stack/trove/integration/scripts/trovestack gate-tests mysql mysql

Change-Id: I31d4ee579a554f4c98f9facb9fd4b7779665a3dd
2019-08-25 23:11:54 +12:00
..
finalise.d Improve trove guest agent image building 2019-04-10 09:29:40 +12:00
README.rst Improve devmode=flase when building the image 2019-08-25 23:11:54 +12:00

README.rst

This element clears out /etc/resolv.conf and prevents dhclient from populating it with data from DHCP. This means that DNS resolution will not work from the guest. This is OK because all outbound connections from the guest will be based using raw IP addresses.

In addition we remove dns from the nsswitch.conf hosts setting.

This means that the guest never waits for DNS timeouts to occur.