-
Notifications
You must be signed in to change notification settings - Fork 59
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
Feature Request: Disable all DHCP requests #1609
Comments
Moved to the tracker as this is a Fedora CoreOS issue. |
This should be fixed by coreos/coreos-installer#1335. One easy way to test it is to override the |
Thanks @jlebon . Since that CoreOS Installer systemd service lives on the live CD itself, how can I override it? Would I have to build the project with the changes or is there some way to patch an existing ISO? |
You can override it via your Ignition config, e.g. systemd:
units:
- name: coreos-installer.service
contents: |
[Unit]
... That said, as CI shows, #1335 is missing some bits. But short-term you can at least use a similar mechanism to remove the systemd:
units:
- name: coreos-installer.service
dropins:
- name: no-wants.conf
contents: |
[Unit]
Wants= |
@jlebon I thought the systemd units in the Ignition config run after the livecd/ISO copies the initial CoreOS to the hard disk. It seems like the DHCP request is coming before the systemd units run. I thought it was happening during the initial livecd/ISO boot that copies everything over to the hard disk. Is that not the case? |
OK cool, coreos/coreos-installer#1335 is happy now! Would you be able to test that?
There are two Ignition runs and configs: one during the live ISO boot and one during the first boot of the installed system. When you The new interface which makes that clearer is See also https://coreos.github.io/coreos-installer/customizing-install/. |
Feature Request
Hello, in our environment we often teardown and recreate our cluster. This results in several DHCP requests - 1 per node that is being provisioned. I've already disabled automatic network configuration and use static IP addresses using NetworkManager, but these modifications occur after the LiveCD is booted.
I've set the
offline: true
value inside of aninstall.yaml
file as part of my settings, which gets embedded viacoreos-installer iso ignition embed at
/etc/coreos/installer.d/install.yaml`. Here's the contents of the file that gets embedded:However, despite setting
offline
totrue
, I'm still seeing DHCP requests come through during the LiveCD boot process. I tried turning off my DHCP server, and the process which requests a DHCP address eventually times out but the installation still succeeds onto the hard disk.Desired Feature
Have some way to completely disable all network requests / DHCP requests during the LiveCD boot process.
The text was updated successfully, but these errors were encountered: