Re: [packer] Network file system in packer Shell provisioner QEMU-KVM

2018-05-22 Thread tannerposada
Hey Rickard, Ah I see what you mean, I'll have to change the -netdev and -device in the qemuargs on this one for it to work correctly. Thanks for pointing that out. Tanner Posada On Friday, May 18, 2018 at 12:31:01 AM UTC-7, Rickard von Essen wrote: > > It's hard to say without knowing your co

Re: [packer] Network file system in packer Shell provisioner QEMU-KVM

2018-05-18 Thread Rickard von Essen
It's hard to say without knowing your complete setup. But it's not packer causing the problem. My first hunch is that you try to bind a nfs mount where the client is behind nat. That will not work. Try to do the procedure by hand first. On 18 May 2018 at 01:35, wrote: > Hey Rickard, > > I have h

Re: [packer] Network file system in packer Shell provisioner QEMU-KVM

2018-05-17 Thread tannerposada
Hey Rickard, I have had the script work just fine after running it on the image I generate with packer. What I noticed is (based on the error output) the file system isn't mounted on the provisioner step despite having rebooted the VM after the kickstart installation. When attempting to manuall

Re: [packer] Network file system in packer Shell provisioner QEMU-KVM

2018-05-16 Thread Rickard von Essen
I'm pretty sure this is an error in your scripts. Packer doesn't care/know if you are using NFS or something else. Try to step back a bit and start with something simpler and then you add steps until you find the one that is wrong. Be sure to verify each one. On 12 May 2018 at 02:02, wrote: > He

Re: [packer] Network file system in packer Shell provisioner QEMU-KVM

2018-05-09 Thread Alvaro Miranda Aguilera
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, wrote: > Hey everyone, > > I have been trying to setup a database in packer which grabs an sql dump > file from a NFS folder th