Disable Hyper-V KVP daemon for Ubuntu AMI #316
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So I stumbled across this today when building Ubuntu AMIs and taking a look at the console output (something I had not done before). I noticed that it was relatively slow (IMO, and compared to AL2) to be able to SSH in after the instance showed as running. Then I saw this on the console:
I've seen that before! The exact same thing was fixed for OVAs about six months ago: c06617b
Let's give everyone launching Ubuntu 18.04 AMIs ~90 seconds off their boot time.
/assign @detiber
Time to cloud-init is finished before:
[ 108.766451] cloud-init[1272]: Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 running 'modules:final' at Wed, 05 Aug 2020 01:16:43 +0000. Up 108.60 seconds.
After:
[ 23.096428] cloud-init[1129]: Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~18.04.1 running 'modules:final' at Wed, 05 Aug 2020 02:22:51 +0000. Up 22.94 seconds.