Skip to content
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

Fix ssh references in WinRM and templates #48

Merged
merged 2 commits into from Nov 28, 2015
Merged

Conversation

dusek
Copy link
Contributor

@dusek dusek commented Nov 21, 2015

Remove references to "ssh" in winrm builds. This is in these 2 places:

  • output filename in the vagrant postprocessor (i.e. after ~45 minutes
    of building the machine: "why the hell is my WinRM box named
    "something-ssh-something"? did I choose the wrong template?" :-)
  • template used in the vagrant postprocessor

However in win2012r2-standardcore, ssh was also in the path to
Autounattend.xml that is used for the floppy. What is more, the ssh path
reference there however does not exist.

Also make order in tpl w.r.t. ssh (second commit):

  • some templates had box names and defines inconsistent with template
    file name (ssh-ssh instead of ssh, or standard-sshcore instead
    of standardcore-ssh)
  • some templates had improperly commented ssh port forwarding
  • one template (*ssh-ssh) is not referenced anywhere

I do not have intimate knowledge of this project and of course did not
test with all templates, so please review the changes I did. I simply
used common sense to remove apparent inconsistencies, with the hope the
inconsistencies are not intentional but caused by a mistake.

This is in these 2 places:
- output filename in the vagrant postprocessor (i.e. after ~45 minutes
  of building the machine: "why the hell is my WinRM machine named
  something-ssh-something? did I choose the wrong template?" :-)
- template used in the vagrant postprocessor

However in win2012r2-standardcore, `ssh` was also in the path to
`Autounattend.xml` that is used for the floppy. What is more, the ssh
path reference there however does not exist.
- some templates had box names and defines inconsistent with template
  file name (`ssh-ssh` instead of `ssh`, or `standard-sshcore` instead
  of `standardcore-ssh`)
- some templates had improperly commented ssh port forwarding
- one template (`*ssh-ssh`) is not referenced anywhere
@dusek dusek mentioned this pull request Nov 21, 2015
Closed
rasa added a commit that referenced this pull request Nov 28, 2015
Fix ssh references in WinRM and templates
@rasa rasa merged commit 8d7856f into boxcutter:master Nov 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants