/srv/irclogs.ubuntu.com/2018/07/16/#ubuntu-installer.txt

stealthadminHello, I am trying to preseed an 18.04 ubuntu server installation. I have tried using a debian preseed file and passing the path of the file to the kernal on install. This preseed file has been validated by debian-installer and was previously used for a 14.04 instalation. We have also investigated using an answers.yaml file to seed the installation, but there is not much documentation on this method. Have there been breaking changes f15:47
CarlFKanswers.yaml?15:50
CarlFKI would post the details of your problem  - like you don't even say you have a problem15:51
stealthadminI am unable to seed the installation. When booting the live iso, none of the preseeded values have been used.15:54
stealthadminFrom what I can tell, answers.yaml is another way to preseed subiquity. Although the only references I can find are here: https://ubuntuforums.org/showthread.php?t=2390710 and here https://github.com/CanonicalLtd/subiquity/blob/master/examples/answers.yaml15:56
CarlFKunable to seed - how are you giving the file to the installer?15:59
CarlFKI host it on a http server on my lan, and add a kernel append: url=hostname15:59
CarlFKit sounds like the installer isn't aware of your file16:00
stealthadmin By passing the file path to the kernal as a parameter : file=/cdrom/preseed/mypreseed.seed16:00
CarlFKtry url=file://cdrom/...  or maybe  url=file:///cdrom...16:01
CarlFKI think I have seen file= but I am not sure now16:02
stealthadminOk let me give that a try. Is there somewhere in a log that would say it failed to find the file?16:02
CarlFKfor me, the installer errors and halts.  but I also have debug=5 or something that might cause that16:03
stealthadminI have been trying to follow this documentation: https://help.ubuntu.com/lts/installation-guide/s390x/apbs01.html#preseed-methods16:03
CarlFKif you want to try to trace what I use.. which works, but is pretty convoluted...16:05
CarlFKhttps://salsa.debian.org/debconf-video-team/ansible/blob/master/scripts/mk_usb_installer.sh#L2916:05
CarlFKthe preseed files are way over here: https://salsa.debian.org/debconf-video-team/ansible/tree/master/roles/tftp-server/files16:06
CarlFKbecause they get used by both "mk usb install media" and "pxe boot the installer"16:07
CarlFKthe usb stick is made with that shell script, the pxe server is built with ansible - using the same files for both is ... convoluted16:07
stealthadminIs the debug level for the installer something I can also pass as a kernal parameter?16:11
CarlFKyes16:13
CarlFKloking ... it is in/around that script...16:13
CarlFKhttps://salsa.debian.org/debconf-video-team/ansible/blob/master/scripts/syslinux.cfg#L516:15
CarlFKAPPEND --- debconf/priority=high auto=true netcfg/dhcp_timeout=6016:15
CarlFKdebconf/priority=high16:15
stealthadminOk I think it might be a problem for how I am creating the iso. I will look over your script and keep playing with it. Thank you for the help.17:02
CarlFKare you burning to CD or making a usb thumb drive?17:04
CarlFKI 'hate' making CDs - so hard to make changes17:05
stealthadminUsing a thumbdrive. Me too haha, CDs are the worst17:05
CarlFKyou might want to try that script - it tries to support Ubuntu too17:14
CarlFKI waffle between ubuntu and debian - currently using debian because it is more tested, and I haveent taken the time to test ubuntu in  a while17:15

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!