1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00

Further cleanup and refactoring

This commit is contained in:
Darren Shepherd
2015-02-19 20:05:43 -07:00
parent e211279636
commit f84aa02276
9 changed files with 83 additions and 48 deletions

View File

@@ -163,19 +163,6 @@ func launchConsole(cfg *config.Config) error {
cmd.Start()
return cmd.Wait()
//console := cfg.GetContainerById(cfg.ConsoleContainer)
//if console == nil {
// return nil
//}
//c, err := docker.ParseContainer(cfg, console)
//if err != nil {
// return err
//}
//return c.Attach()
//return nil
}
func sysInit() error {
@@ -188,7 +175,6 @@ func sysInit() error {
loadImages,
runContainers,
func(cfg *config.Config) error {
//TODO: not totally sure why we need this.
syscall.Sync()
return nil
},