Skip to content

Commit

Permalink
Merge branch 'master' of github.com:folimy/klevr
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Lee committed Jul 9, 2020
2 parents 96d2a57 + 83bcb3e commit 49d54e4
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions provisioning_lists/baremetal
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
### Platform_type is Baremetal

## Check Virtualization on machine
egrep '(vmx|svm)' /proc/cpuinfo | false && echo 'Error: Required Virtualization. Please check the BIOS or check the other machine.' && exit 1

## Modify configuration if the machine can runs for Hypervisor
echo 'options kvm_intel nested=1' >> /etc/modprobe.d/kvm-nested.conf && modprobe -r kvm_intel && modprobe kvm_intel | false && echo 'Error: Required apply of modprobe command.' && exit 1

## Check the configuration setup success
cat /sys/module/kvm_intel/parameters/nested | grep "Y" | false && echo "Error: Required check for this file - /sys/module/kvm_intel/parameters/nested for \"Y\"" && exit 1



"egrep '(vmx|svm)' /proc/cpuinfo", "Error: vmx"
"echo 'options kvm_intel nested=1' >> /etc/modprobe.d/kvm-nested.conf;modprobe -r kvm_intel && modprobe kvm_intel", "Error: cmd"
"cat /sys/module/kvm_intel/parameters/nested", "Error: check"

0 comments on commit 49d54e4

Please sign in to comment.