chef / bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms
Apache License 2.0
4.24k stars 1.12k forks source link

Fix waiting for ssh - ubuntu netplan dhcp-identifer format error #1550

Closed theodson closed 7 months ago

theodson commented 7 months ago

Fix formatting error in yaml file used by netplan ...

The problem occurs after the VM reboots and ssh connection waits (as it fails) until timeout. Discovered this by running Netplan and reviewing the output.

netplan apply 

Description

Whilst Building VMware Ubuntu 22.04 the build process would hang with waiting for ssh errors.

PACKER_LOG=1 packer build -only=vmware-iso.vm -var-file=os_pkrvars/ubuntu/ubuntu-22.04-x86_64.pkrvars.hcl -var headless=false ./packer_templates

The fix addresses the YAML formatting error.

Related Issue

Types of changes

Checklist:

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

theodson commented 7 months ago

most welcome 👍 ... had me puzzled too