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:
parent
2af13ef626
commit
29d953c14d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user