-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:folimy/klevr
- Loading branch information
Showing
1 changed file
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |