Giter Club home page Giter Club logo

Comments (6)

joefitzgerald avatar joefitzgerald commented on July 30, 2024

Have you tried running with v.gui = true (https://github.com/joefitzgerald/packer-windows/blob/master/vagrantfile-windows_2012_r2.template#L31) in your Vagrantfile that uses the box you've created?

Doing so will probably give you additional insight into the problem.

from packer-windows.

charandas avatar charandas commented on July 30, 2024

I have. What sort of places should I be looking at? The VM is booted and showing its desktop.

from packer-windows.

joefitzgerald avatar joefitzgerald commented on July 30, 2024

In that case it's highly dependent on:

  • Your version of Vagrant
  • Your Vagrantfile configuration
  • The actual log from your vagrant run

from packer-windows.

charandas avatar charandas commented on July 30, 2024

Excuse my lack of detail. Here is more:

  1. Vagrant 1.6.2

  2. VagrantFile

    # -*- mode: ruby -*-
    # vi: set ft=ruby :
    
    # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
    VAGRANTFILE_API_VERSION = "2"
    
    Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
        config.vm.provider "vmware_workstation" do |v|
          v.gui = false
          v.vmx["memsize"] = "2048"
          v.vmx["numvcpus"] = "2"
        end
    
        config.vm.box = "windows-embedded-8.1"
    end
  3. Result: the VM seems to loaded fine.

C:\Users\karan_001\code\vagrant\box-1> vagrant up                                             
Bringing machine 'default' up with 'vmware_workstation' provider...                           
==> default: Cloning VMware VM: 'windows-embedded-8.1'. This can take some time...            
==> default: Verifying vmnet devices are healthy...                                           
==> default: Preparing network adapters...                                                    
==> default: Starting the VMware VM...                                                        
==> default: Waiting for the VM to finish booting...                                          

The definition used creating the box was vanilla windows 8.1 JSON from packer-windows, only difference being ISO for Windows Embedded.

I am going to give a try on the Mac with VMWare fusion and add back those results.

from packer-windows.

joefitzgerald avatar joefitzgerald commented on July 30, 2024

Are you sure WinRM is enabled in your Windows Embedded box? I'm a little concerned that perhaps that component needs to be installed rather than just enabled or that PowerShell needs to be installed first (similar to what occurs for the _core templates) because it's a stripped down install by default.

from packer-windows.

charandas avatar charandas commented on July 30, 2024

That was it. Thanks and 👍 @joefitzgerald

My embedded ISO is setting the default network to public which comes in the way of setting winrm. Will look for a solution. As soon as, I set the network to private, winrm configuration wasn't even needed - it was already running, while vagrant up gracefully returned the console.

from packer-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.