mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-05-11 09:55:19 +00:00
Use extensions dir path as source (#660)
Otherwise it will copy the dir itself and we just want to copy the contents of the dir Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
parent
347a30b261
commit
488841ebf2
@ -39,7 +39,7 @@ func (b BundlePostInstall) Run(c config.Config, _ v1.Spec) error {
|
||||
return err
|
||||
}
|
||||
|
||||
cmd := exec.Command("rsync", "-aqAX", "/var/lib/extensions", "/usr/local/.state/var-lib-extensions.bind")
|
||||
cmd := exec.Command("rsync", "-aqAX", "/var/lib/extensions/", "/usr/local/.state/var-lib-extensions.bind")
|
||||
_, err = cmd.CombinedOutput()
|
||||
if c.FailOnBundleErrors && err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user