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

Interactive Vagrant commands #12

Open
Metachemix1 opened this issue Feb 7, 2018 · 0 comments
Open

Interactive Vagrant commands #12

Metachemix1 opened this issue Feb 7, 2018 · 0 comments

Comments

@Metachemix1
Copy link

Currently it's not possible to run a Vagrantfile that needs input because its output is sent to "Output window" instead of terminal.

The scenario below shows an example of what happens in the Output console.. It asks me which switch I want to use during the setup for my Docker environment in Vagrant. However I'm not able to input anything here because its read-only.

==> default: Successfully added box 'hashicorp/precise64' (v1.1.0) for 'hyperv'! ==> default: Configured startup memory is 4096 ==> default: Importing a Hyper-V instance default: Please choose a switch to attach to your Hyper-V instance. default: If none of these are appropriate, please open the Hyper-V manager default: to create a new virtual switch. default: default: 1) DockerNAT default: 2) Default Switch default: 3) nat default: 4) DockerEXT default: default: What switch would you like to use?

Is it possible to send the "Vagrant Up" output to a terminal shell which makes it interactive so I can provide input during the setup of my Vagrantfile?

Kind regards

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

No branches or pull requests

1 participant