[00:54] <ironpillow> Hi all, I am looking for a resource to learn how to customize ubuntu server ISO. I want to pre-seed it with the applications I need because I will be installing quite a few servers each month. Any advice? thanks!
[00:56] <sarnold> you'd probably be better served to configure cloud-init and use the cloud-images if you can -- that'll skip basically all the install time, and just jump right to a usable system
[01:17] <ironpillow> sarnold: I am installing on local machines and not cloud server.
[01:18] <sarnold> ironpillow: ah, bare metal then? hmm. *maybe* maas can make that more pleasant
[01:18] <ironpillow> yeah bare metal. don't know about maas. I will look into it. thanks :)
[01:20] <sarnold> (the truth is not many people do much with the isos; cloud images and cloud-init is way easier and better documented.. debian preseeds are vastly underdocumented :( )
[01:23] <bryce> ironpillow, might look at https://www.techrepublic.com/article/how-to-create-a-custom-ubuntu-iso-with-cubic/ ?
[01:30] <ironpillow> sarnold: yeah, it's hard to find how to pre-seed
[01:31] <ironpillow> bryce: from what I gather, cubic is for ubuntu with gui not ubuntu server.
[01:39] <marcoceppi> Looking to get some help with TFTP / Preseed for Ubuntu 18.04. I've sync'd down this entire directory: http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/ and setup tftpd to read it as it's root. I can netboot into an installer but whenever I try to specify a preseed as either tftp or http and made some progress with this preseed file and this boot-screens/txt.cfg: preseed (http://paste.
[01:39] <marcoceppi> ubuntu.com/p/HXsMDWWQzX/) boot-screens/txt.cfg (http://paste.ubuntu.com/p/rjqDV4Gbd7/)
[01:39] <marcoceppi> Is there a better example for this other than https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html? I've used that example preseed with my own values and the directions covered within
[01:47] <sarnold> http://paste.ubuntu.com/p/HXsMDWWQzX/
[06:12] <lordievader> Good morning
[06:42] <Mighty_Mel> Morning!
[10:14] <weedmic> help - is there a way for me to see when the current installation was done of a programe?  and what it was before it was upgraded?  found nothing in man:apt.  perhaps an update log?
[10:22] <weedmic> nvm found /var/log/apt/history
[10:50] <weedmic> can having only 4gb free on / - affect cpu usage percent?
[11:06] <weedmic> I think not - as swap is not on / so nvm
[12:30] <marcoceppi> Looking to get some help with TFTP / Preseed for Ubuntu 18.04. I've sync'd down this entire directory: http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/ and setup tftpd to read it as it's root. I can netboot into an installer and do the normal setup but whenever I try to specify a preseed as either tftp or http I get a different root menu that makes it seem like the preseed loaded but its
[12:30] <marcoceppi> still not fully automatic Here are my preseed file and this boot-screens/txt.cfg: preseed (http://paste.ubuntu.com/p/HXsMDWWQzX/) boot-screens/txt.cfg (http://paste.ubuntu.com/p/rjqDV4Gbd7/). Is there a better example for this other than https://help.ubuntu.com/lts/installation-guide/amd64/apbs02.html? I've used that example preseed with my own values and the directions covered within
[13:44] <lordcirth_> marcoceppi, when you say it's not automatic, what's the first question you get?
[14:14] <weedmic> Is there a way I can limit the amount of cpu % docker can use/access/occupy?  For example, set a max usage to 40%?  If yes, how?
[14:18] <stripe> hi all, 18.04 trying to connect lxd/lxc containers to my lan instead of a subnet, none of the documentation will work, I can assign ip's from my dhcp server but then dont get any network access, anyone know of some docs that could help? cheers :0
[14:19] <stripe> ^:)
[14:28] <TJ-> with an ifupdown install, does anyone know of a way to restart a remote system's network config without bringing down the interface or interrupting service on existing IP addresses, when new IP addresses have been added in 'interfaces' file?
[14:43] <rbasak> TJ-: I believe that anything you do is a hack because ifupdown doesn't natively support that. So you might as well bring up the new IP addresses by hand.
[14:44] <rbasak> Of course that means you never get to test the new interfaces file.
[14:58] <marcoceppi> lordcirth_: let me run it again, but it's a pretty long menu
[15:01] <TJ-> rbasak: I thought as much... Just added a lot of IPv6 addresses, time to write a manual script to do it for me
[15:04] <marcoceppi> lordcirth_: so I get the screen with Installer Boot Menu (which is fine, I haven't tweaked the timeout for that yet) once initrd.gz loads it places me at a screen with "Ubuntu installer main menu" where the first few options are "Access software for a blind person using a braille display", "Detect network hardware", "Configure the network", "Download debconf preconfigured file", ...
[15:05] <marcoceppi> Ideally, this is where the preseed would have taken place to avoid having to run through these steps on screen
[15:13] <marcoceppi> lordcirth_: both bionic and xenial give me the same result :|
[15:32] <lordcirth_> marcoceppi, oh, that menu. That generally happens when you click Back, or something goes wrong
[15:33] <marcoceppi> yeah, I'm not sure what's going wrong. If it's fetching my preseed and the preseed is wrong or if it's failing to get that far
[15:33] <rbasak> marcoceppi: hello, BTW :)
[15:33] <rbasak> Hope you're well!
[15:34] <marcoceppi> o/ rbasak! Doing well except for this stubborn netboot ;)
[15:34] <rbasak> Sorry I can't help with that. It's been years since I touched d-i netboot.
[15:35] <marcoceppi> no worries, it's good to know this menu is because somethings wrong
[15:35] <marcoceppi> hope you're doing well too!
[15:35] <lordcirth_> marcoceppi, you can switch to a tty and read the logs
[15:35] <rbasak> I'm good thanks!
[15:36] <marcoceppi> lordcirth_: I dropped to a busybox shell and more'd the logs
[15:36] <rbasak> IIRC d-i is particularly finnicky about preseed syntax and that kind of thing, with not much help if there's something wrong.
[15:36] <marcoceppi>  /var/log/syslog in particular
[15:36] <marcoceppi> I saw it set the values from append, and get the value for preseed/url twice
[15:36] <marcoceppi> but I'm not sure where that woudl be stored if it downloaded it, for example
[15:37] <marcoceppi> lordcirth_: what should I be looking for?
[15:38] <lordcirth_> marcoceppi, I forget the path, but there's an installer log as well.
[15:39] <marcoceppi> lordcirth_: so I found /var/lib/preseed/log which shows my choices from the append line. `/var/log` only has syslog. I'll hunt for installer
[15:40] <lordcirth_> marcoceppi, That might be the one I'm thinking of. Can you pastebin it?
[15:41] <marcoceppi> ehhhhhhhhhh, probably not in this busybox, but it's essentially what's in my kernel append. let me try
[15:43] <marcoceppi> I'm worried that my busy box session didn't have any networking configured lordcirth_, makes me think what I'm presenting in the grub append lines isn't correct or missing an item
[15:43] <lordcirth_> marcoceppi, you should have 'nc' installed in busybox. "cat log | nc termbin.com 9999"
[15:43] <lordcirth_> marcoceppi, so, if you are missing a line, generally the installer will just ask you that question - partial preseeds are normal
[15:44] <marcoceppi> except I set this to critcal, and my preseed file is fetched over the network
[15:44] <lordcirth_> marcoceppi, and your network didn't come up?
[15:44] <marcoceppi> It didn't until I ran that step in the aforementioned installer box
[15:44] <lordcirth_> Do you have multiple interfaces?
[15:44] <marcoceppi> I have a pastebin now
[15:44] <marcoceppi> I have 4
[15:45] <marcoceppi> https://termbin.com/vy6n
[15:45] <lordcirth_> marcoceppi, "critcal" should be "critical"
[15:46] <marcoceppi> ... let me try that
[16:12] <marcoceppi> lordcirth_: thanks for your help, apparently my speeeling caused quite a few days of no progress
[16:36] <lordcirth_> marcoceppi, lol. So it works now?
[16:40] <marcoceppi> yeah >.>
[16:40] <marcoceppi> I just need to get the Installer Boot Menu to timeout and go to the install option I think I have that figured out
[16:40] <marcoceppi> otherwise install went swimmingly
[16:42] <marcoceppi> thanks again for your help lordcirth_
[16:43] <lordcirth_> marcoceppi, you're welcome!
[16:50] <lordcirth_> strixdio, Are you trying to ssh as root?
[16:50] <strixdio> any reason a fresh install of ubuntu server would be giving me access denied for ssh?
[16:50] <strixdio> whoops
[16:50] <strixdio> no
[16:50] <strixdio> the standard user that was created in the wizard during install
[16:50] <lordcirth_> strixdio, and the same password works on a tty?
[16:51] <strixdio> correct
[16:52] <strixdio> I'm getting a literal "access denied"
[16:52] <lordcirth_> strixdio, does it list auth methods when it says that?
[16:52] <strixdio> hmmmmm actually, hang on a sec.
[16:52] <strixdio> something isn't right.
[16:52] <lordcirth_> I would also confirm that it is the host you think it is.
[16:52] <strixdio> it definitely is
[16:53] <strixdio> but checking it for a network connection on the TTY, it has nothing
[16:53] <strixdio> now, I'm used to gentoo method of setting up network connections-- what config file am I using for ubuntu server?
[16:53] <lordcirth_> strixdio, 18.04?
[16:53] <strixdio> yes
[16:53] <lordcirth_>  /etc/netplan/*
[16:53] <strixdio> interfaces?
[16:53] <strixdio> o
[16:54] <strixdio> and restarting the network?
[16:54] <lordcirth_> strixdio, 'netplan apply'
[16:55] <strixdio> thanks.
[16:55] <strixdio> strange though lol
[16:55] <cyphermox> "access denied" wouldn't be a return due to missing network
[16:55] <strixdio> hmmm
[16:55] <strixdio> I can't ping anything though
[16:56] <strixdio> so I want to first make sure that's all sorted
[16:56] <cyphermox> yup
[16:57] <strixdio> derp.
[16:58] <cyphermox> two machines, one IP?
[16:58] <strixdio> had it on the wrong network
[16:58] <strixdio> :D
[17:00] <strixdio> that's all it was.
[17:00] <strixdio> not sure why I was getting access denied earlier...
[17:01]  * strixdio shrugs
[17:01] <strixdio> anyway, thanks :)
[23:59] <mwhudson> anyone want to test a live-server installer that supports reusing partitions? :)