No worries. I'm glad it is working for you now.

Stan

On Wed, Jan 20, 2021 at 4:07 AM Andrea Arquint <[email protected]>
wrote:

> I fixed it... Had to increase the amount of RAM allocation from 512 to 1024
> So, this is solved so far!
>
> Thx Stan !!!
>
>
> Andrea Arquint schrieb am Mittwoch, 20. Januar 2021 um 10:56:15 UTC+1:
>
>> Hi Stan
>>
>> Thx so far... I did all those 3 steps you mentioned and I got over the
>> VNC issue but now there is a new one as shown in screenshot:
>>
>> [image: image.png]
>>
>> ==> utest: Retrieving ISO
>> ==> utest: Trying
>> https://releases.ubuntu.com/focal/ubuntu-20.04.1-live-server-amd64.iso
>> ==> utest: Trying
>> https://releases.ubuntu.com/focal/ubuntu-20.04.1-live-server-amd64.iso?checksum=sha256%3A443511f6bf12402c12503733059269a2e10dec602916c0a75263e5d990f6bb93
>> ==> utest:
>> https://releases.ubuntu.com/focal/ubuntu-20.04.1-live-server-amd64.iso?checksum=sha256%3A443511f6bf12402c12503733059269a2e10dec602916c0a75263e5d990f6bb93
>> => /home/ndee/.packer/e30b34e4d3c536763868a42bb9d5b8f14af297b8.iso
>> ==> utest: Configuring output and export directories...
>> ==> utest: Creating floppy disk...
>>     utest: Copying files flatly from floppy_files
>>     utest: Copying file: /tmp/packer/1611136306/preseed.cfg
>>
>>     utest: Done copying files from floppy_files
>>     utest: Collecting paths from floppy_dirs
>>     utest: Resulting paths from floppy_dirs : []
>>     utest: Done copying paths from floppy_dirs
>> ==> utest: Uploading Floppy to remote machine...
>>     utest: packer067613816 1.41 MiB / 1.41 MiB
>> [============================================================] 100.00% 0s
>>
>> ==> utest: Remote cache was verified skipping remote upload...
>> ==> utest: Creating required virtual machine disks
>> ==> utest: Building and writing VMX file
>> ==> utest: Registering remote VM...
>> ==> utest: Starting virtual machine...
>> ==> utest: Connecting to VNC...
>> ==> utest: Waiting 10s for boot...
>> ==> utest: Typing the boot command over VNC...
>> *==> utest: Waiting for SSH to become available...*
>>
>> And now it stuck's there... for what ever reason?
>>
>> Thx Andrea
>>
>> Am Mi., 20. Jan. 2021 um 01:08 Uhr schrieb Stan Dorsett <
>> [email protected]>:
>>
>>> If you are deployed directly to ESXi you might need to run the following
>>> commands on your ESXi host:
>>>
>>> # enable GuestIpHack to allow packer to determine the vm IP address before 
>>> vmtools are installed
>>> esxcli system settings advanced set -o /Net/GuestIPHack -i 1
>>> # open inbound VNC connections on the firewall
>>> esxcli network firewall ruleset set -e true -r gdbserver
>>>
>>> I have also had to add '"vnc_disable_password": true,' as described on
>>> the following link:
>>>
>>> https://www.packer.io/docs/builders/vmware/iso#building-on-a-remote-vsphere-hypervisor
>>>
>>> Hope this helps.
>>>
>>> Stan
>>>
>>> On Tue, Jan 19, 2021 at 3:36 PM Andrea Arquint <[email protected]>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> I run ESXi 6.7 in my Lab and tried to install an ubuntu vm into it.
>>>>
>>>> ... snip ...
>>>> ==> utest: Retrieving ISO
>>>> ==> utest: Trying
>>>> https://releases.ubuntu.com/focal/ubuntu-20.04.1-live-server-amd64.iso
>>>> ==> utest: Trying
>>>> https://releases.ubuntu.com/focal/ubuntu-20.04.1-live-server-amd64.iso?checksum=sha256%3A443511f6bf12402c12503733059269a2e10dec602916c0a75263e5d990f6bb93
>>>> ==> utest:
>>>> https://releases.ubuntu.com/focal/ubuntu-20.04.1-live-server-amd64.iso?checksum=sha256%3A443511f6bf12402c12503733059269a2e10dec602916c0a75263e5d990f6bb93
>>>> => /home/ndee/.packer/e30b34e4d3c536763868a42bb9d5b8f14af297b8.iso
>>>> ==> utest: Configuring output and export directories...
>>>> ==> utest: Creating floppy disk...
>>>>     utest: Copying files flatly from floppy_files
>>>>     utest: Copying file: /tmp/packer/1611091651/preseed.cfg
>>>>     utest: Done copying files from floppy_files
>>>>     utest: Collecting paths from floppy_dirs
>>>>     utest: Resulting paths from floppy_dirs : []
>>>>     utest: Done copying paths from floppy_dirs
>>>> ==> utest: Uploading Floppy to remote machine...
>>>>     utest: packer554707513 1.41 MiB / 1.41 MiB
>>>> [=========================================================================================================================================]
>>>> 100.00% 0s
>>>> ==> utest: Remote cache was verified skipping remote upload...
>>>> ==> utest: Creating required virtual machine disks
>>>> ==> utest: Building and writing VMX file
>>>> ==> utest: Registering remote VM...
>>>> ==> utest: Starting virtual machine...
>>>> ==> utest: Connecting to VNC...
>>>> ==> utest: Error handshaking with VNC: no suitable auth schemes found.
>>>> server supported: []byte{0x1}
>>>> ==> utest: Waiting 3.268086874s to give VMware time to clean up...
>>>> ==> utest: Stopping virtual machine...
>>>> ==> utest: Destroying virtual machine...
>>>> *Build 'utest' errored after 20 seconds 189 milliseconds: Error
>>>> handshaking with VNC: no suitable auth schemes found. server supported:
>>>> []byte{0x1}*
>>>> ...snip...
>>>>
>>>> There is no VNC on ESXi 6.7. Does some else faced same issues?
>>>>
>>>> Any input kindly appreciated!
>>>> Andrea
>>>>
>>>> --
>>>> 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/hashicorp/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/33d8d8e9-44ee-4d35-bb05-b8ffcaacfa5bn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/packer-tool/33d8d8e9-44ee-4d35-bb05-b8ffcaacfa5bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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/hashicorp/packer/issues
>>> IRC: #packer-tool on Freenode
>>> ---
>>>
>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Packer" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/packer-tool/-kP16PUywh0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/CA%2BT1%2Bddxj00syrsnybckHAty0tnBTvuncixNtnE7pHNkx3qWpg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/packer-tool/CA%2BT1%2Bddxj00syrsnybckHAty0tnBTvuncixNtnE7pHNkx3qWpg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/hashicorp/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/01beec18-e1b5-48a9-a10b-bb0df8bc8a3dn%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/01beec18-e1b5-48a9-a10b-bb0df8bc8a3dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/hashicorp/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/CA%2BT1%2BdfBcDxpzUwcK%2BMbubpP71uM%3DrfHt5E8ePzWxmp6_M1Viw%40mail.gmail.com.

Reply via email to