Skip to content

winrm_username not defined error when building Malboxes #144

@ZeaMays14142

Description

@ZeaMays14142

I'm encountering an error when trying to build Malboxes. The error message is "winrm_username must be specified". This suggests that the winrm_username variable is not defined in my Packer configuration.

Steps to Reproduce

  1. Install Malboxes via pip.
  2. Run the command to build Malboxes.
  3. Observe the error message.

Expected Behavior

Malboxes should build successfully without any errors.

Actual Behavior

The build process fails with the error message "winrm_username must be specified".

Environment

  • Malboxes version: 0.5.0
  • Packer version: 1.10.0
  • Vagrant version: 2.4.0
  • VirtualBox version: 7.0.12r159484
  • Python version: Python 3.11.5
  • Operating System: Windows 11 Home, Version 22H2, OS build 22621.2861
  • Processor: 13th Gen Intel(R) Core(TM) i7-13650HX, 2.60 GHz
  • Installed RAM: 32.0 GB (31.7 GB usable)
  • System type: 64-bit operating system, x64-based processor

Additional Information

I've checked the Packer templates in the malboxes/templates/ directory and couldn't find the winrm_username variable. I've also checked the Malboxes configuration and it doesn't seem to define the winrm_username variable. I'm not sure where this variable is supposed to be defined.

The full error message I'm seeing is as follows:

Generating configuration files...
Configuration files are ready
Starting packer to generate the VM
----------------------------------
Error: Failed to prepare build: "virtualbox-iso"

1 error(s) occurred:

* winrm_username must be specified.


----------------------------------
packer completed with return code: 1
Packer failed. Build failed. Exiting...

Any help would be greatly appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions