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

apt update in CloudImage does not find network on first boot #27

Open
samstagern opened this issue Nov 13, 2024 · 1 comment · May be fixed by #30
Open

apt update in CloudImage does not find network on first boot #27

samstagern opened this issue Nov 13, 2024 · 1 comment · May be fixed by #30

Comments

@samstagern
Copy link

When using alternative Name Servers apt update in CloudImage does not find the nameservers. Making the provisioning very slow.

@samstagern samstagern changed the title apt update in CloudImage does not find network apt update in CloudImage does not find network on first boot Nov 13, 2024
samstagern pushed a commit to samstagern/hyperv-vm-provisioning that referenced this issue Nov 13, 2024
the provisioning stalls when using alternative DNS servers as the DNS
settings are not applied before apt update and apt upgrade run:

- add /etc/systemd/resolv.conf template to cloudimage
- do a netplan apply before calling apt

closes: schtritoff#27
@samstagern samstagern linked a pull request Nov 13, 2024 that will close this issue
@samstagern
Copy link
Author

Note I made this a draft as I think the solution can have issues with future versions. I will see if I can make the patch more specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant