Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable "Virtual Machine Platform" #9

Open
UnwantedFeature opened this issue Sep 28, 2021 · 1 comment
Open

Enable "Virtual Machine Platform" #9

UnwantedFeature opened this issue Sep 28, 2021 · 1 comment

Comments

@UnwantedFeature
Copy link

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.

@rgl
Copy link
Owner

rgl commented Sep 28, 2021

Never saw that before; that seems related to something changed in Windows/VirtualBox/VagrantVirtualBoxProvider. Please try searching/asking for help in the Vagrant repository and let me known what was the solution :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants