Thank you for taking the time to report this bug and helping to make
Ubuntu better. /usr/lib/initramfs-tools/etc/dhcp/dhclient-enter-
hooks.d/config is shipped by isc-dhcp-client. Therefore reassigning to
isc-dhcp-client.

** Package changed: initramfs-tools (Ubuntu) => isc-dhcp (Ubuntu)

** Changed in: isc-dhcp (Ubuntu)
   Importance: Undecided => Medium

** Changed in: isc-dhcp (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/2054482

Title:
  nfsroot=auto does not work, Ubuntu 22.04

Status in isc-dhcp package in Ubuntu:
  Triaged

Bug description:
  in scripts/nfs, there is provisions for nfsroot=auto to take NFSROOT
  value from DHCP "root-path". But it does not work because DHCP root-
  path option is not written to /run/net-enp1s0f0.conf by
  etc/dhcp/dhclient-enter-hooks.d/config

  to fix this, please add [echo "ROOTPATH='$new_root_path'"] somewhere
  in etc/dhcp/dhclient-enter-hooks.d/config, rebuild the initrd, copy it
  to /tftpboot, reboot NFSROOT client, observe
  ROOTPATH='192.168.0.248:/nfsroot/dsfe05' is present in /run/net-
  enp1s0f0.conf, change pxelinux config file to say nfsroot=auto, it
  will work now.

  emacs -nw /usr/lib/initramfs-tools/etc/dhcp/dhclient-enter-hooks.d/config
  ...
                  echo "ROOTSERVER='${new_routers%% *}'"
  add this ---->  echo "ROOTPATH='$new_root_path'"
                  echo "HOSTNAME='$new_host_name'"
                  echo "DNSDOMAIN='$new_domain_name'"
  ...

  K.O.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/2054482/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to