-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vagrant A2 server and instructions for restoring from Chef Infra Server to A2 with Embedded Infra #149
base: main
Are you sure you want to change the base?
Conversation
|
||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to explain what will happen if you do this wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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!
raise "Encoded files can't be read outside of the Vagrant installer." | |
raise "The Vagrant installer can't read outside encrypted files" |
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: