Previously we could incur the costly guest mount operation twice,
if injecting files with any of net, ssh keys, password, metadata.
Instead now inject files in the same operation.
Also cleanup the internal injection functions a little
by removing the unused 'execute' parameter.
Partly mitigates the impact of bug 1013689.
Change-Id: Ib66d327e745593cf1e5897470750d609b2a58980
Reviewed: https:/ /review. openstack. org/9470 github. com/openstack/ nova/commit/ 0d166cae0113cd2 8f9253ff12450d4 7b71fe0a40
Committed: http://
Submitter: Jenkins
Branch: master
commit 0d166cae0113cd2 8f9253ff12450d4 7b71fe0a40
Author: Pádraig Brady <email address hidden>
Date: Mon Jun 25 13:52:46 2012 +0100
only mount guest image once when injecting files
Previously we could incur the costly guest mount operation twice,
if injecting files with any of net, ssh keys, password, metadata.
Instead now inject files in the same operation.
Also cleanup the internal injection functions a little
by removing the unused 'execute' parameter.
Partly mitigates the impact of bug 1013689. cf1e5897470750d 609b2a58980
Change-Id: Ib66d327e745593