=== cim2095 is now known as cim209 [00:54] 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] 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] sarnold: I am installing on local machines and not cloud server. [01:18] ironpillow: ah, bare metal then? hmm. *maybe* maas can make that more pleasant [01:18] yeah bare metal. don't know about maas. I will look into it. thanks :) [01:20] (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] ironpillow, might look at https://www.techrepublic.com/article/how-to-create-a-custom-ubuntu-iso-with-cubic/ ? [01:30] sarnold: yeah, it's hard to find how to pre-seed [01:31] bryce: from what I gather, cubic is for ubuntu with gui not ubuntu server. [01:39] 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] ubuntu.com/p/HXsMDWWQzX/) boot-screens/txt.cfg (http://paste.ubuntu.com/p/rjqDV4Gbd7/) [01:39] 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] http://paste.ubuntu.com/p/HXsMDWWQzX/ === amurray` is now known as amurray [06:12] Good morning [06:42] Morning! === lifeless_ is now known as lifeless === ikonia_ is now known as ikonia [10:14] 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] nvm found /var/log/apt/history [10:50] can having only 4gb free on / - affect cpu usage percent? [11:06] I think not - as swap is not on / so nvm [12:30] 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] 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] marcoceppi, when you say it's not automatic, what's the first question you get? [14:14] 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] 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] ^:) [14:28] 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] 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] Of course that means you never get to test the new interfaces file. [14:58] lordcirth_: let me run it again, but it's a pretty long menu [15:01] 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] 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] Ideally, this is where the preseed would have taken place to avoid having to run through these steps on screen [15:13] lordcirth_: both bionic and xenial give me the same result :| [15:32] marcoceppi, oh, that menu. That generally happens when you click Back, or something goes wrong [15:33] 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] marcoceppi: hello, BTW :) [15:33] Hope you're well! [15:34] o/ rbasak! Doing well except for this stubborn netboot ;) [15:34] Sorry I can't help with that. It's been years since I touched d-i netboot. [15:35] no worries, it's good to know this menu is because somethings wrong [15:35] hope you're doing well too! [15:35] marcoceppi, you can switch to a tty and read the logs [15:35] I'm good thanks! [15:36] lordcirth_: I dropped to a busybox shell and more'd the logs [15:36] 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] /var/log/syslog in particular [15:36] I saw it set the values from append, and get the value for preseed/url twice [15:36] but I'm not sure where that woudl be stored if it downloaded it, for example [15:37] lordcirth_: what should I be looking for? [15:38] marcoceppi, I forget the path, but there's an installer log as well. [15:39] 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] marcoceppi, That might be the one I'm thinking of. Can you pastebin it? [15:41] ehhhhhhhhhh, probably not in this busybox, but it's essentially what's in my kernel append. let me try [15:43] 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] marcoceppi, you should have 'nc' installed in busybox. "cat log | nc termbin.com 9999" [15:43] marcoceppi, so, if you are missing a line, generally the installer will just ask you that question - partial preseeds are normal [15:44] except I set this to critcal, and my preseed file is fetched over the network [15:44] marcoceppi, and your network didn't come up? [15:44] It didn't until I ran that step in the aforementioned installer box [15:44] Do you have multiple interfaces? [15:44] I have a pastebin now [15:44] I have 4 [15:45] https://termbin.com/vy6n [15:45] marcoceppi, "critcal" should be "critical" [15:46] ... let me try that [16:12] lordcirth_: thanks for your help, apparently my speeeling caused quite a few days of no progress === Sebastien is now known as Dad [16:36] marcoceppi, lol. So it works now? [16:40] yeah >.> [16:40] 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] otherwise install went swimmingly [16:42] thanks again for your help lordcirth_ [16:43] marcoceppi, you're welcome! [16:50] strixdio, Are you trying to ssh as root? [16:50] any reason a fresh install of ubuntu server would be giving me access denied for ssh? [16:50] whoops [16:50] no [16:50] the standard user that was created in the wizard during install [16:50] strixdio, and the same password works on a tty? [16:51] correct [16:52] I'm getting a literal "access denied" [16:52] strixdio, does it list auth methods when it says that? [16:52] hmmmmm actually, hang on a sec. [16:52] something isn't right. [16:52] I would also confirm that it is the host you think it is. [16:52] it definitely is [16:53] but checking it for a network connection on the TTY, it has nothing [16:53] now, I'm used to gentoo method of setting up network connections-- what config file am I using for ubuntu server? [16:53] strixdio, 18.04? [16:53] yes [16:53] /etc/netplan/* [16:53] interfaces? [16:53] o [16:54] and restarting the network? [16:54] strixdio, 'netplan apply' [16:55] thanks. [16:55] strange though lol [16:55] "access denied" wouldn't be a return due to missing network [16:55] hmmm [16:55] I can't ping anything though [16:56] so I want to first make sure that's all sorted [16:56] yup [16:57] derp. [16:58] two machines, one IP? [16:58] had it on the wrong network [16:58] :D [17:00] that's all it was. [17:00] not sure why I was getting access denied earlier... [17:01] * strixdio shrugs [17:01] anyway, thanks :) === Sveta is now known as Guest81408 === svetlana is now known as Sveta [23:59] anyone want to test a live-server installer that supports reusing partitions? :)