2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-22 07:46:25 +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 2af13ef626
commit 29d953c14d
Signed by: adphi
GPG Key ID: F2159213400E50AB

View File

@ -293,7 +293,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 {