diff --git a/pkg/provision/buildroot.go b/pkg/provision/buildroot.go index 45f53240df..3ea2661251 100644 --- a/pkg/provision/buildroot.go +++ b/pkg/provision/buildroot.go @@ -155,7 +155,7 @@ WantedBy=multi-user.target return nil, err } - if err := p.Service("", serviceaction.Enable); err != nil { + if err := p.Service("docker", serviceaction.Enable); err != nil { return nil, err } diff --git a/pkg/provision/ubuntu.go b/pkg/provision/ubuntu.go index 5bb3491549..642f09e792 100644 --- a/pkg/provision/ubuntu.go +++ b/pkg/provision/ubuntu.go @@ -159,7 +159,7 @@ WantedBy=multi-user.target return nil, err } - if err := p.Service("", serviceaction.Enable); err != nil { + if err := p.Service("docker", serviceaction.Enable); err != nil { return nil, err }