mirror of
https://github.com/rancher/os.git
synced 2025-09-08 10:11:46 +00:00
Switch to virtio
This commit is contained in:
@@ -79,7 +79,7 @@ func NewConfig() *Config {
|
||||
ImagesPath: "/",
|
||||
ImagesPattern: "images*.tar",
|
||||
StateRequired: false,
|
||||
StateDev: "/dev/sda",
|
||||
StateDev: "/dev/vda",
|
||||
StateDevFSType: "ext4",
|
||||
SysInit: "/sbin/init-sys",
|
||||
SystemDockerArgs: []string{"docker", "-d", "-s", "overlay", "-b", "none"},
|
||||
|
@@ -4,7 +4,6 @@ import (
|
||||
"os"
|
||||
"os/exec"
|
||||
"path"
|
||||
"syscall"
|
||||
|
||||
log "github.com/Sirupsen/logrus"
|
||||
dockerClient "github.com/fsouza/go-dockerclient"
|
||||
@@ -187,10 +186,10 @@ func sysInit() error {
|
||||
initFuncs := []config.InitFunc{
|
||||
loadImages,
|
||||
runContainers,
|
||||
func(cfg *config.Config) error {
|
||||
syscall.Sync()
|
||||
return nil
|
||||
},
|
||||
//func(cfg *config.Config) error {
|
||||
// syscall.Sync()
|
||||
// return nil
|
||||
//},
|
||||
//launchConsole,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user