Skip to content

Commit

Permalink
ubuntu use ext4,docker deployment with rancher fail if /var/lib/docke…
Browse files Browse the repository at this point in the history
…r is on btrfs
  • Loading branch information
pdion891 committed Feb 12, 2017
1 parent ae260d6 commit 49f89a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cloudca.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const (
userDataToMountVolume = `#cloud-config
fs_setup:
- label: data
filesystem: 'btrfs'
filesystem: 'ext4'
device: '/dev/xvdb'
mounts:
- [ xvdb, /var/lib/docker, "auto", "defaults", "0", "0" ]
- [ xvdb, /var/lib/docker, "ext4", "defaults", "0", "0" ]
coreos:
units:
- name: format-datavolume.service
Expand Down Expand Up @@ -61,7 +61,8 @@ coreos:
content: |
[Unit]
After=var-lib-docker.mount
Requires=var-lib-docker.mount`
Requires=var-lib-docker.mount
`
)

type configError struct {
Expand Down

0 comments on commit 49f89a5

Please sign in to comment.