Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-48212

Static ip on kernel command line does not result in ipv4.method=manual

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • anaconda
    • None
    • None
    • rhel-anaconda
    • ssg_front_door
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • None

      What were you trying to do that didn't work?
      Kernel command line forcing static ip adrresses used with RHEL9 does not result in 
      in static ip addresses (ipv4.method=manual) in RHEL10.

      Please provide the package NVR for which bug is seen: RHEL10 Beta

      How reproducible: always

      Steps to reproduce:

      1/ Set "Kernel options post" in Beaker to "ip=10.37.129.110::10.37.135.254:255.255.252.0:cat-02.lab.eng.brq2.redhat.com:eno1:none"  (replace network interface/ip to fit)
      2/ Install RHEL10 
      3/ Check ipv4.method of eno1 is "auto" and not "manual"

      Expected result: network interface not set to manual

      Actual results: network interface set to manual

      Other info:

      RHEL9, network boot options: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/boot_options_for_rhel_installer/index#network-boot-options_kickstart-and-advanced-boot-options

      Beaker job: https://beaker.engineering.redhat.com/jobs/9570775 which shows the
      following commandline used
      (https://beaker-archive.prod.engineering.redhat.com/beaker-logs/2024/07/95707/9570775/16556068/console.log):

      ...
      [    0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.10.0-0.rc5.12.el10.x86_64 root=/dev/mapper/rhel_cat--02-root ro ip=10.37.129.110::10.37.135.254:255.255.252.0:cat-02.lab.eng.brq2.redhat.com:eno1:none ip=[2620:52:0:2580::fd]:::[2620:52:0:2580::/64]:cat-02.lab.eng.brq2.redhat.com:eno1:off ksdevice=bootif nameserver=10.45.248.15 nameserver=10.38.5.25 crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M resume=UUID=465b0263-1fb0-4e10-81eb-59c461286444 rd.lvm.lv=rhel_cat-02/root rd.lvm.lv=rhel_cat-02/swap console=ttyS0,115200n81

       

      The system after being installed:

       

      [root@cat-02 ~]# nmcli con show
      NAME      UUID                                  TYPE      DEVICE   
      eno1      9e3cabda-909a-4f62-8744-07e09949db3e  ethernet  eno1     
      enp1s0f0  fba1f329-9903-45b8-841c-4d5bbb504b4f  ethernet  enp1s0f0 
      enp1s0f1  ed2d3442-bf68-45ab-b8a7-dc4c007269d7  ethernet  enp1s0f1 
      lo        532711db-7482-4e8a-b900-74c3305ad47c  loopback  lo       
      eno2      9ab049ef-6e57-330d-b7b3-34749b7f8137  ethernet  --       
      [root@cat-02 ~]# nmcli con show eno1 | grep method
      ipv4.method:                            auto
      ipv6.method:                            auto
      proxy.method:                           none
      

       

       

              anaconda-maint-list anaconda-maint-list
              mnovacek@redhat.com Michal Nováček
              anaconda-maint-list anaconda-maint-list
              Release Test Team Release Test Team
              Sagar Dubewar Sagar Dubewar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: