Comments (12)
Thanks for your support. It worked for me.
from hv-packer.
Please make sure you're able to reach that IP from outside of VM.
Especially that requires adding firewall exception which is mentioned in readme
from hv-packer.
I have added the firewall exception.
I am able to ping the VM's but It is refusing to connect over SSH
from hv-packer.
You cannot ssh to a machine, as it's in the Kickstart/Anaconda mode.
You have to make sure gest VM is able to contact Hyper-v you're running packer on, as packer exposes HTTP server with files for ubuntu.
Run script and check if you're able to reach port (HTTP) on IP and PORT that packer displays as used
from hv-packer.
packer = Hyper-V host (IP:PORT) <=> VM
from hv-packer.
Guys, glad you already found a solution for this issue.
Could you please let me know how to make the ssh connection work? I've add firewall exception like mentioned in the md file.
from hv-packer.
If you are on windows you would need to allow connections from windows defender for the profile you have selected for the network connection. That was the issue I faced.
from hv-packer.
from hv-packer.
Hey @navanshu, do you think you could guide me on how you made it work? I am unsure what you mean by allow connections from window defender, which profile is it?
from hv-packer.
Also, does it work with a default switch? when I try it with default switch it just gives me failed to unmount cd rom and gets stuck there
from hv-packer.
@Souldiv The network aka your Ethernet, etc should be marked as home or be allowed to connect both ways from the firewall and defender
from hv-packer.
@navanshu you mean the network switch? How do I do that?
from hv-packer.
Related Issues (16)
- Error: hyperv-iso: Error shutting down VM: PowerShell error: Hyper-V\Stop-VM : Failed to stop. HOT 8
- disk space HOT 2
- Confirmation on the use of Ansible Provisioner HOT 1
- Can't login HOT 22
- I fail to override variable values HOT 4
- I get a warning and it says that source code is not available HOT 2
- Can not SSH to VM and create a box for Vagrant - Using Packer with Ubuntu HOT 1
- packer not taking kickstart file HOT 2
- WS22 - Datacenter Edition - Incorrect Value HOT 2
- Provisioning step had errors - Ubuntu 22.04 - Windows 11 Hyper-v HOT 4
- centos 7 and 8 build error HOT 1
- centos 7 build error HOT 8
- Template Fail to Boot HOT 9
- Support for Packer Windows Update Provisioner HOT 5
- ubuntu 20.04 LVM not created as per user-data HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hv-packer.