Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Don't symlink docker location, store at /var/lib/[system-]docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Mar 19, 2015
1 parent 3c44f0e commit 4e668e6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions init/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ var (
}
postDirs []string = []string{
"/var/log",
"/var/lib/rancher/state/docker",
"/var/lib/rancher/state/home",
"/var/lib/rancher/state/opt",
}
Expand Down Expand Up @@ -64,9 +63,6 @@ var (
"/home": "/var/lib/rancher/state/home",
"/opt": "/var/lib/rancher/state/opt",
}
postSymlinks map[string]string = map[string]string{
"/var/lib/docker": "/var/lib/rancher/state/docker",
}
)

func createSymlinks(cfg *config.Config, symlinks map[string]string) error {
Expand Down Expand Up @@ -324,9 +320,6 @@ func RunInit() error {
func(cfg *config.Config) error {
return createDirs(postDirs...)
},
func(cfg *config.Config) error {
return createSymlinks(cfg, postSymlinks)
},
func(cfg *config.Config) error {
return createMounts(postMounts...)
},
Expand Down

0 comments on commit 4e668e6

Please sign in to comment.