[packer] Re: Preseed.cfg file for ubuntu18.04

2019-07-25 Thread Tekchand Dagar
Hello Benjamin, Thanks a lot. Your suggestion fixed my issue. Thanks once again. :) On Wednesday, July 24, 2019 at 8:05:55 PM UTC+5:30, Benjamin Lu wrote: > > https://www.packer.io/docs/provisioners/shell.html > > > > On Monday, July 22, 2019 at 4:28:52 AM UTC-7, Tekchand Dagar wrote: >> >> Hell

[packer] Re: Preseed.cfg file for ubuntu18.04

2019-07-24 Thread Benjamin Lu
https://www.packer.io/docs/provisioners/shell.html On Monday, July 22, 2019 at 4:28:52 AM UTC-7, Tekchand Dagar wrote: > > Hello Team, > > Currently we have OVA of ubuntu16.04 which is created by packer with our > required software. But now we want to create OVA of Ubuntu18.04 because LTS > wi

[packer] Re: Preseed.cfg file for ubuntu18.04

2019-07-24 Thread Benjamin Lu
in the provisioner, you can check out the chef.github.io/bento's preseed but you need "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E sh -eux '{{.Path}}'", in the provisioners part so that it can run as root, because provisioners are run in root. On Monday, July 22, 2019 at 4:28

[packer] Re: Preseed.cfg file for ubuntu18.04

2019-07-23 Thread Tekchand Dagar
Hello Benjamin, Thank you for your response. I replaced my ISO with suggested by you. Now VM is registered as well as SSH connection is setup. But provisioner part is not working and showing the below error: ``` ==> virtualbox-iso: Typing the boot command... ==> virtualbox-iso: Using ssh commun

[packer] Re: Preseed.cfg file for ubuntu18.04

2019-07-23 Thread Benjamin Lu
yeah, so the problem is the cd, don't use the live cd from ubuntu, but use this instead http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/ubuntu-18.04.2-server-amd64.iso On Monday, July 22, 2019 at 4:28:52 AM UTC-7, Tekchand Dagar wrote: > > Hello Team, > > Currently we have OVA of ubuntu