Discussion:
[vagrant-up] vagrant up windows box from Ubunut
Rahamath Ulla
2018-10-20 11:05:29 UTC
Permalink
Hello,

I have installed vagrant on Ubuntu. I have build vagrant image via packer.

I have imported vagrant box file and managed to do Vagrant UP.

When I am trying to run vagrant powershell, I am getting below error
"Your host does not support PowerShell. A remote PowerShell connection
can only be made from a windows host."

How to connect a windows vagrant box from Ubuntu ?

My vagrant version is 2.1.5
Please help
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-10-22 09:27:26 UTC
Permalink
hello

can you try a different box?

vagrant uses winrm for host-guest communication, so I expect other boxes to
work


once you confirm this, then the next step will be check how the box was
built to understand these requirements

alvaro
Post by Rahamath Ulla
Hello,
I have installed vagrant on Ubuntu. I have build vagrant image via packer.
I have imported vagrant box file and managed to do Vagrant UP.
When I am trying to run vagrant powershell, I am getting below error
"Your host does not support PowerShell. A remote PowerShell connection
can only be made from a windows host."
How to connect a windows vagrant box from Ubuntu ?
My vagrant version is 2.1.5
Please help
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew7fbZwBWuhbdEdBWMt43h7RGQv9FdSEtb19dtUJWFTWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Rahamath
2018-10-22 10:55:13 UTC
Permalink
Hi..
Yes it works fine from windows host. The box was built with a packer. Since
I wanted to use Ansible to do some post build tasks, i had to move packee
engine to Ubuntu. Now build with packer and ansible works fine. It create a
post vagrant box as well. Now the only issue is to connect. Alternately, in
jenkins CD, I have added a step to copy the vagrant box to a windows node
and do a vagrant UP. It works, but any clue if we can do vagrant UP and
connect via powershell from ubuntu.
Post by Alvaro Miranda Aguilera
hello
can you try a different box?
vagrant uses winrm for host-guest communication, so I expect other boxes
to work
once you confirm this, then the next step will be check how the box was
built to understand these requirements
alvaro
Post by Rahamath Ulla
Hello,
I have installed vagrant on Ubuntu. I have build vagrant image via packer.
I have imported vagrant box file and managed to do Vagrant UP.
When I am trying to run vagrant powershell, I am getting below error
"Your host does not support PowerShell. A remote PowerShell connection
can only be made from a windows host."
How to connect a windows vagrant box from Ubuntu ?
My vagrant version is 2.1.5
Please help
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew7fbZwBWuhbdEdBWMt43h7RGQv9FdSEtb19dtUJWFTWw%40mail.gmail.com
<https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew7fbZwBWuhbdEdBWMt43h7RGQv9FdSEtb19dtUJWFTWw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAF0uwPEcXoefQyXxzyefbGFmUAXBhq%2BSmZv77QY%2BU61MNpvJCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-10-22 13:42:59 UTC
Permalink
can you share a link to your packer template?

ideally template and scripts to have a look
Post by Rahamath
Hi..
Yes it works fine from windows host. The box was built with a packer.
Since I wanted to use Ansible to do some post build tasks, i had to move
packee engine to Ubuntu. Now build with packer and ansible works fine. It
create a post vagrant box as well. Now the only issue is to connect.
Alternately, in jenkins CD, I have added a step to copy the vagrant box to
a windows node and do a vagrant UP. It works, but any clue if we can do
vagrant UP and connect via powershell from ubuntu.
Post by Alvaro Miranda Aguilera
hello
can you try a different box?
vagrant uses winrm for host-guest communication, so I expect other boxes
to work
once you confirm this, then the next step will be check how the box was
built to understand these requirements
alvaro
Post by Rahamath Ulla
Hello,
I have installed vagrant on Ubuntu. I have build vagrant image via packer.
I have imported vagrant box file and managed to do Vagrant UP.
When I am trying to run vagrant powershell, I am getting below error
"Your host does not support PowerShell. A remote PowerShell connection
can only be made from a windows host."
How to connect a windows vagrant box from Ubuntu ?
My vagrant version is 2.1.5
Please help
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google
Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com
<https://groups.google.com/d/msgid/vagrant-up/1550b26e-8bd6-45fd-acb4-f452a2998050%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew7fbZwBWuhbdEdBWMt43h7RGQv9FdSEtb19dtUJWFTWw%40mail.gmail.com
<https://groups.google.com/d/msgid/vagrant-up/CAHqq0ew7fbZwBWuhbdEdBWMt43h7RGQv9FdSEtb19dtUJWFTWw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in
violation of those guidelines may result in your removal from this mailing
list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/CAF0uwPEcXoefQyXxzyefbGFmUAXBhq%2BSmZv77QY%2BU61MNpvJCw%40mail.gmail.com
<https://groups.google.com/d/msgid/vagrant-up/CAF0uwPEcXoefQyXxzyefbGFmUAXBhq%2BSmZv77QY%2BU61MNpvJCw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Alvaro
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewTcUj%3DOte1ZbKX4TN%2BrhvYKSSzddRcmz3ab%3DFJBQd3GQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...