diff --git a/builder/lxd/communicator.go b/builder/lxd/communicator.go index fe4aa7f..62edfec 100644 --- a/builder/lxd/communicator.go +++ b/builder/lxd/communicator.go @@ -92,7 +92,7 @@ func (c *Communicator) Upload(dst string, r io.Reader, fi *os.FileInfo) error { func (c *Communicator) UploadDir(dst string, src string, exclude []string) error { fileDestination := fmt.Sprintf("%s/%s", c.ContainerName, dst) - pushCommand := fmt.Sprintf("lxc file push --debug -pr %s %s", src, fileDestination) + pushCommand := fmt.Sprintf("lxc file push --debug -pr %s* %s", src, fileDestination) log.Printf(pushCommand) cp, err := c.CmdWrapper(pushCommand) if err != nil {