798af4d02a
- Add a new element 'guest-agent' for image building. This element is used when dev_mode=false, so that the trove code is downloaded into the image during the building phase rather than during the guest agent initialization. - Improve trovestack sub-command 'build-image'. ./trovestack build-image ${datastore_type} \ ${guest_os} \ ${guest_release} \ ${dev_mode} - Improve documentation. Story: #2005387 Task: #30375 Change-Id: I9d7acbd6a97f8c01b48b0f2cf94398d549d89124
12 lines
615 B
ReStructuredText
12 lines
615 B
ReStructuredText
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
|
|
amphora. 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 has the real benefit of speeding up host boot and configutation times.
|
|
This is especially helpful when running tempest tests in a devstack environment
|
|
where DNS resolution from the guest usually doesn't work anyway. This means
|
|
that the guest never waits for DNS timeouts to occur.
|