if you could share the packer template for the file transfer + provisioner when you running it and a log of the run
will help. alvaro On Tue, May 8, 2018 at 12:08 AM, <[email protected]> wrote: > Hey everyone, > > I have been trying to setup a database in packer which grabs an sql dump > file from a NFS folder then imports it. > This is achieved with a file provisioned script that I upload to > "/importBackup.sh" > The issue is that it seems the shell provisioner can't use the NFS. > Is this a side effect of how packer functions or a bug? > > I have the mount configuration set up in the fstab done by the Kickstart > file. > I have verified that the configuration functions by loading the generated > image into Virtual Machine Manager and inspecting it. > > Oddly enough when I tried running the backup script at the post process > step by SSHing into the machine after setting it up in Virtual Machine > Manager, the script file appears to be missing. > That script also appears just fine when I manually inspect the VM. > > I am running CentOS 7 on QEMU-KVM. > > Let me know if additional info is needed. > > Regards, > > Tanner Posada > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/d1b013c2-68c5-4bae-8395-1dfed2140e61%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/d1b013c2-68c5-4bae-8395-1dfed2140e61%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0ezH6%3D2X2Ko9xAWGNTxRNzxsdv-%2BVv6goo532dtJECtAQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
