mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-13 03:26:25 +00:00
fix: policy-rc.d path typo
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
parent
6b62dbfb9a
commit
15e3135bb3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user