Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OracleLinux 7: No IP for NAT network after 1st boot #1533

Open
Rendanic opened this issue Oct 9, 2023 · 0 comments
Open

OracleLinux 7: No IP for NAT network after 1st boot #1533

Rendanic opened this issue Oct 9, 2023 · 0 comments
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@Rendanic
Copy link
Contributor

Rendanic commented Oct 9, 2023

Version

current master

Environment

Windows 10 with Packer, Vagrant and VirtualBox as build host.

Scenario

Building a Oracle Linux 7 VM with packer.

Steps to Reproduce

packer build -only=virtualbox-iso.vm -var-file=os_pkrvars/oracle/oracle-7-x86_64.pkrvars.hcl packer_templates/

The build for CentOS7 works fine:
packer build -only=virtualbox-iso.vm -var-file=os_pkrvars/centos/centos-7-x86_64.pkrvars.hcl packer_templates/

Expected Result

VM should get an IP from DHCP network on NAT network after 1st boot.
I can workarround the problem by manually starting the dhclient in the machine.

Actual Result

SSH connect from packer build run in a timeout, because the VM does not have an IP and SSH is not reachable via the port forwarding on NAT Device in VirtaulBox.

@Rendanic Rendanic added the Status: Untriaged An issue that has yet to be triaged. label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant