1
0
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:
Darren Shepherd
2015-02-16 20:52:48 -07:00
parent 6928140540
commit 47a9899b89
2 changed files with 5 additions and 6 deletions

View File

@@ -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"},

View File

@@ -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,
}