2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-25 09:06:24 +00:00

fix: policy-rc.d path typo

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-08-12 13:42:55 +02:00
parent 6b62dbfb9a
commit 15e3135bb3
Signed by: adphi
GPG Key ID: F2159213400E50AB

View File

@ -313,7 +313,7 @@ func (b *builder) setupRootFS(ctx context.Context) error {
return err
}
// TODO(adphi): is it the righ fix ?
if err := os.RemoveAll("/ur/sbin/policy-rc.d"); err != nil {
if err := os.RemoveAll("/usr/sbin/policy-rc.d"); err != nil {
return err
}
if err := os.RemoveAll(b.chPath("/.dockerenv")); err != nil {