[Bug 1849684] Re: casper preseed url not working

Time Leow 1849684 at bugs.launchpad.net
Sat Feb 5 15:00:25 UTC 2022


I can see the issue is due to bug in:
main/scripts/casper-bottom/24preseed, line 72
preseed/url=*|url=*)
  url_location="${x#url=}"
  start_network
  chroot /root wget -P /tmp "$url_location"
  locations="/tmp/$(basename "$url_location") $locations"
  ;;

if you specific
preseed/url=http://host/path/to/preseed.cfg
the variable url_location will not be transformed correctly, it will just as "preseed/url=http://host/path/to/preseed.cfg"

however, for
url=http://host/path/to/preseed.cfg
then url_location see correctly to
"http://host/path/to/preseed.cfg"

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1849684

Title:
  casper preseed url not working

Status in Casper:
  New
Status in casper package in Ubuntu:
  Fix Released
Status in casper source package in Eoan:
  New
Status in casper source package in Focal:
  Fix Released

Bug description:
  When booting ubuntu iso from grub, the parameter url= is  downloading (needs ip=dhcp)  the preseed file via http but  Casper thinks that with the url= parameter that it is netboot.
  Same error with preseed/url= parameter.
  This used to work ok in ubuntu 18.04 and 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/casper/+bug/1849684/+subscriptions




More information about the foundations-bugs mailing list