Skip to content

Commit

Permalink
Merge pull request docker#4710 from Serozd/arch-storage-driver
Browse files Browse the repository at this point in the history
set storage driver to overlay2 for archlinux
  • Loading branch information
guillaumerose authored Jul 18, 2019
2 parents 2b36917 + 8eb98e3 commit a555e4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libmachine/provision/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (provisioner *ArchProvisioner) Provision(swarmOptions swarm.Options, authOp
provisioner.EngineOptions = engineOptions
swarmOptions.Env = engineOptions.Env

storageDriver, err := decideStorageDriver(provisioner, "overlay", engineOptions.StorageDriver)
storageDriver, err := decideStorageDriver(provisioner, "overlay2", engineOptions.StorageDriver)
if err != nil {
return err
}
Expand Down
4 changes: 2 additions & 2 deletions libmachine/provision/arch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestArchDefaultStorageDriver(t *testing.T) {
p := NewArchProvisioner(&fakedriver.Driver{}).(*ArchProvisioner)
p.SSHCommander = provisiontest.NewFakeSSHCommander(provisiontest.FakeSSHCommanderOptions{})
p.Provision(swarm.Options{}, auth.Options{}, engine.Options{})
if p.EngineOptions.StorageDriver != "overlay" {
t.Fatal("Default storage driver should be overlay")
if p.EngineOptions.StorageDriver != "overlay2" {
t.Fatal("Default storage driver should be overlay2")
}
}

0 comments on commit a555e4f

Please sign in to comment.