Ok. So I followed those instructions as best I can. Some of those values aren't present at all in my vmx file. I don't know if I can just add them or not, so I didn't for fear of breaking my machine. I followed the network instructions as well. I still get the failed to fetch kickstart line, but the ip changed to: http://192.168.137.1:0/ks.cfg. Different ip but same problem. Any idea why that might be?
On Tuesday, February 26, 2019 at 5:08:22 PM UTC-5, Megan Marsh wrote: > > That sounds like the behavior I get when the vm isn't actually sharing the > network adapters properly. > > I can't remember all the steps I took to fix this, but my hyperv setup is > inside a windows 10 vmware vagrant box. My vagrantfile has the following > changes applied: > > config.vm.provider :vmware_fusion do |v, override >> v.vmx["memsize"] = "6144" >> v.vmx["numvcpus"] = "2" >> v.vmx["ethernet0.virtualDev"] = "vmxnet3" >> v.vmx["RemoteDisplay.vnc.enabled"] = "false" >> v.vmx["RemoteDisplay.vnc.port"] = "5900" >> v.vmx["scsi0.virtualDev"] = "lsisas1068" >> v.vmx["hypervisor.cpuid.v0"] = "FALSE" >> v.vmx["vhv.enable"] = "TRUE" >> v.vmx['vhv.allow'] = "TRUE" >> v.vmx['mce.enable'] = "TRUE" >> v.vmx["vhu.enable"] = "TRUE" >> end > > > > These pass through to the vmx, so if you aren't using vagrant, just update > the vmx file with these values directly. > > then inside the vm, I have to launch the control panel and navigate to > control panel > network and internet > network and sharing center. In the > left-hand navigation, you'll see "change adapter settings" . Click it. Look > for your Ethernet0 adapter. Click it, then click "change settings of this > connection" at the right side of the top navigation bar. Click the sharing > tab in the window that pops up, and make sure it's sharing its connection > with your hyperV switch. > > Hope this helps. I have to toggle the network share every time I relaunch > my hyperv-enabled vm; for some reason the settings don't seem to save quite > properly. > [image: Screen Shot 2019-02-26 at 2.06.22 PM.png] > > > -- 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/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/3c57d26b-8fb6-4332-aa08-6f6301bacd92%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
