1
0
mirror of https://github.com/rancher/os.git synced 2025-09-07 01:31:06 +00:00

Merge pull request #1883 from SvenDowideit/detect-vm-and-load-vm-service

Detect hypervisor and start its driver service plus vmware cloud-init datasource
This commit is contained in:
Sven Dowideit
2017-07-07 10:50:32 +10:00
committed by GitHub
21 changed files with 2130 additions and 74 deletions

View File

@@ -11,6 +11,7 @@ import (
"strings"
"syscall"
"github.com/SvenDowideit/cpuid"
"github.com/codegangsta/cli"
"github.com/rancher/os/cmd/cloudinitexecute"
"github.com/rancher/os/config"
@@ -117,7 +118,7 @@ func consoleInitFunc() error {
| | | | \\_| \\_\\__,_|_| |_|\\___|_| |_|\\___|_| \\___/\\____/
\\___/ \\___/ \s \r
RancherOS `+config.Version+` \n \l
RancherOS `+config.Version+` \n \l `+cpuid.CPU.HypervisorName+`
`), 0644); err != nil {
log.Error(err)
}