Skip to content

Enable "Virtual Machine Platform" #9

@UnwantedFeature

Description

@UnwantedFeature

When starting the test-nodes with vagrant up --provider=virtualbox, the process exists with an error telling me to enable "Virtual Machine Platform". This feature is already enabled.

PS D:\Projects\Vagrant\WindowsDomain\test-nodes> vagrant up --provider=virtualbox
==> vagrant: You have requested to enabled the experimental flag with the following features:
==> vagrant:
==> vagrant: Features:  typed_triggers
==> vagrant:
==> vagrant: Please use with caution, as some of the features may not be fully
==> vagrant: functional yet.
Bringing machine 'windows' up with 'virtualbox' provider...
Bringing machine 'ubuntu' up with 'virtualbox' provider...
==> windows: Running action triggers before up ...
==> windows: Running trigger...
    windows: Running local: Inline script
    windows: bash -euc '
    windows: certs=(
    windows:     ../tmp/ExampleEnterpriseRootCA.der
    windows: )
    windows: for cert_path in "${certs[@]}"; do
    windows:     if [ -f $cert_path ]; then
    windows:         mkdir -p tmp
    windows:         cp $cert_path tmp
    windows:     fi
    windows: done
    windows: '
    windows:
    windows: Aktivieren Sie bitte das Windows-Feature ?Virtual Machine Platform? und stellen Sie sicher, dass die Virtualisierung im BIOS aktiviert ist.
    (Translation: Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.)
    windows: Weitere Informationen finden Sie unter https://aka.ms/wsl2-install
    (Translation: You can find more information on https://aka.ms/wsl2-install)
    windows:
==> windows: Trigger run failed
==> windows: A script exited with an unacceptable exit code 1.
A script exited with an unacceptable exit code 1.

Virtual Machine Platform is installed:

PS C:\Windows\system32> Get-WindowsOptionalFeature -Online | Where-Object {$_.FeatureName -match "virtualmachineplatform"}


FeatureName : VirtualMachinePlatform
State       : Enabled

Also there were no problems setting up the base machines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions