Vagrant A2 server and instructions for restoring from Chef Infra Server to A2 with Embedded Infra#149
Open
smackmybitsup wants to merge 1 commit intochef:mainfrom
smackmybitsup:feature/A2example
Open
Vagrant A2 server and instructions for restoring from Chef Infra Server to A2 with Embedded Infra#149smackmybitsup wants to merge 1 commit intochef:mainfrom smackmybitsup:feature/A2example
smackmybitsup wants to merge 1 commit intochef:mainfrom
smackmybitsup:feature/A2example
Conversation
kagarmoe
reviewed
Feb 16, 2021
|
|
||
| 1. Put a copy of your .chef folder from your workstation onto the Vagrant A2 server | ||
|
|
||
| > ⚠️ PLEASE be CAREFUL: understand that at this point your `knife.rb` to points to your current **Chef Infra server**. ⚠️ |
There was a problem hiding this comment.
It would be great to explain what will happen if you do this wrong.
kagarmoe
suggested changes
Feb 16, 2021
kagarmoe
left a comment
There was a problem hiding this comment.
I have a couple of very minor comments. The process you describe looks plausible, but I wasn't able to try it out.
|
|
||
| config.vm.box = "bento/ubuntu-18.04" | ||
| config.vm.synced_folder ".", "/opt/a2-testing", create: true | ||
| config.vm.hostname = 'learn-chef.auto' |
There was a problem hiding this comment.
Unless we're spinning up the learn chef site, let's use a different hostname.
| require File.expand_path( | ||
| "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]) | ||
| else | ||
| raise "Encoded files can't be read outside of the Vagrant installer." |
There was a problem hiding this comment.
Would be great to add what the user should do next. The passive voice ("files can't be read") left me confused as to what is reading the files and what I need to do to fix the problem. Still, any error message is better than no error message, so thanks!
Suggested change
| raise "Encoded files can't be read outside of the Vagrant installer." | |
| raise "The Vagrant installer can't read outside encrypted files" |
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.
Vagrant A2 server and instructions for restoring from Chef Infra Server to A2 with Embedded Infra
Description
Related Issue
may help with #78
Types of changes
Checklist: