From db2832d80c83b39d35369be780a06f4670ffd0b2 Mon Sep 17 00:00:00 2001 From: Marin Salinas Date: Wed, 6 Mar 2019 14:52:16 -0600 Subject: [PATCH] fix: change name of dirs --- builder/osc/chroot/communicator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/osc/chroot/communicator.go b/builder/osc/chroot/communicator.go index 5dd3d0719..6efb6cb25 100644 --- a/builder/osc/chroot/communicator.go +++ b/builder/osc/chroot/communicator.go @@ -67,7 +67,7 @@ func (c *Communicator) Start(cmd *packer.RemoteCmd) error { func (c *Communicator) Upload(dst string, r io.Reader, fi *os.FileInfo) error { dst = filepath.Join(c.Chroot, dst) log.Printf("Uploading to chroot dir: %s", dst) - tf, err := tmp.File("packer-amazon-chroot") + tf, err := tmp.File("packer-outscale-chroot") if err != nil { return fmt.Errorf("Error preparing shell script: %s", err) } @@ -122,7 +122,7 @@ func (c *Communicator) UploadDir(dst string, src string, exclude []string) error } func (c *Communicator) DownloadDir(src string, dst string, exclude []string) error { - return fmt.Errorf("DownloadDir is not implemented for amazon-chroot") + return fmt.Errorf("DownloadDir is not implemented for outscale-chroot") } func (c *Communicator) Download(src string, w io.Writer) error {