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

Commit

Permalink
Change volume containers to create only
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Mar 20, 2015
1 parent 796580d commit 0666885
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func NewConfig() *Config {
"-v=/var/run:/var/run " +
"-v=/var/log:/var/log " +
"state",
CreateOnly: true,
},
{
Id: "command-volumes",
Expand All @@ -111,6 +112,7 @@ func NewConfig() *Config {
"-v=/lib/modules:/lib/modules:ro " +
"-v=/usr/bin/docker:/usr/bin/docker:ro " +
"state",
CreateOnly: true,
},
{
Id: "user-volumes",
Expand All @@ -120,15 +122,18 @@ func NewConfig() *Config {
"-v=/home:/home " +
"-v=/opt:/opt " +
"state",
CreateOnly: true,
},
{
Id: "docker-volumes",
Cmd: "--name=docker-volumes " +
"--net=none " +
"--read-only " +
"-v=/var/lib/rancher:/var/lib/rancher " +
"-v=/var/lib/docker:/var/lib/docker " +
"-v=/var/lib/system-docker:/var/lib/system-docker " +
"state",
CreateOnly: true,
},
{
Id: "all-volumes",
Expand All @@ -141,6 +146,7 @@ func NewConfig() *Config {
"--volumes-from=user-volumes " +
"--volumes-from=system-volumes " +
"state",
CreateOnly: true,
},
{
Id: "cloud-init-pre",
Expand Down
2 changes: 1 addition & 1 deletion scripts/download
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ cd $(dirname $0)/..

source scripts/build-common

download d39f85b5c3ca59be9936627b2c3138bc2868fdfd https://github.com/rancherio/os-base/releases/download/v0.1.0/os-base.tar.xz
download 229f3d43369982b6a7b410795c9762814ade0f56 https://github.com/rancherio/os-base/releases/download/v0.1.1/os-base.tar.xz
download 1acbe869b32869bca5788373e8624a2957cbb380 https://github.com/ibuildthecloud/docker/releases/download/v1.5.0-rancher-2/docker-1.5.0

0 comments on commit 0666885

Please sign in to comment.