Inject keys into systemvm.iso using bsdtar (related to #3536)#4015
Closed
cl-k-takahashi wants to merge 2 commits into
Closed
Inject keys into systemvm.iso using bsdtar (related to #3536)#4015cl-k-takahashi wants to merge 2 commits into
cl-k-takahashi wants to merge 2 commits into
Conversation
Signed-off-by: Kai Takahashi <k-takahashi@creationline.com>
Member
|
cc @weizhouapache if we pass the sshpublic key to VMware & XenServer systemvm/VR via the agent do we even need to patch the systemvm.iso like this at all? |
Member
@rhtyd I think we can pass the encoded sshkey in cmdline instead of injecting it to the systemvm.iso. let's discuss later |
Member
|
Thanks @cl-k-takahashi for the PR, we've moved to a new patching approach that won't use systemvm.iso. Closing this due to the change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I fixed an issue of #3536 which was reverted on #3800
At first, systemvm_mnt dir is owned by root, this makes bsdtar unable to work.
By removing systemvm_mnt first, bsdtar can work properly.
systemvm_mnt can be removed by user cloud as /var/[lib/]cloudstack/management is owned by cloud.
Signed-off-by: Kai Takahashi k-takahashi@creationline.com
Description
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?