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 communicator to connect: 127.0.0.1
==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: Connected to SSH!
==> virtualbox-iso: Uploading VirtualBox version info (5.2.26)
==> virtualbox-iso: Uploading VirtualBox guest additions ISO...
==> virtualbox-iso: Provisioning with shell script:
/tmp/packer-shell298352504
virtualbox-iso: sudo: no tty present and no askpass program specified
==> virtualbox-iso: Deregistering and deleting VM...
```
I have used the below option as well in my builder:
```
"ssh_pty" : "true"
```
But it stuck at provisioner part. Can you please help me.
Thanks.
On Tuesday, July 23, 2019 at 9:05:12 PM UTC+5:30, Benjamin Lu wrote:
>
> 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 ubuntu16.04 which is created by packer with our
>> required software. But now we want to create OVA of Ubuntu18.04 because LTS
>> will be end for Ubuntu16.04 after some time. But when i am trying to create
>> OVA using packer for ubuntu18.04 its seems that preseed.cfg is not working.
>> I am using same preseed.cfg file which is used by Ubuntu16.04.
>>
>> Can you please confirm that same preseed.cfg will work or we have
>> different preseed.cfg for ubuntu18.04? If we need to use different
>> preseed.cfg can you please provide me the link for that file?
>>
>> Thanks.
>>
>
--
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/9add225d-4377-49c6-9aaf-e68fa7de6a0e%40googlegroups.com.