/srv/irclogs.ubuntu.com/2019/05/22/#ubuntu-server.txt

=== cim2095 is now known as cim209
ironpillowHi 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:54
sarnoldyou'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 system00:56
ironpillowsarnold: I am installing on local machines and not cloud server.01:17
sarnoldironpillow: ah, bare metal then? hmm. *maybe* maas can make that more pleasant01:18
ironpillowyeah bare metal. don't know about maas. I will look into it. thanks :)01:18
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:20
bryceironpillow, might look at https://www.techrepublic.com/article/how-to-create-a-custom-ubuntu-iso-with-cubic/ ?01:23
ironpillowsarnold: yeah, it's hard to find how to pre-seed01:30
ironpillowbryce: from what I gather, cubic is for ubuntu with gui not ubuntu server.01:31
marcoceppiLooking 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
marcoceppiubuntu.com/p/HXsMDWWQzX/) boot-screens/txt.cfg (http://paste.ubuntu.com/p/rjqDV4Gbd7/)01:39
marcoceppiIs 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 within01:39
sarnoldhttp://paste.ubuntu.com/p/HXsMDWWQzX/01:47
=== amurray` is now known as amurray
lordievaderGood morning06:12
Mighty_MelMorning!06:42
=== lifeless_ is now known as lifeless
=== ikonia_ is now known as ikonia
weedmichelp - 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:14
weedmicnvm found /var/log/apt/history10:22
weedmiccan having only 4gb free on / - affect cpu usage percent?10:50
weedmicI think not - as swap is not on / so nvm11:06
marcoceppiLooking 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 its12:30
marcoceppistill 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 within12:30
lordcirth_marcoceppi, when you say it's not automatic, what's the first question you get?13:44
weedmicIs 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:14
stripehi 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 :014:18
stripe^:)14:19
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:28
rbasakTJ-: 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:43
rbasakOf course that means you never get to test the new interfaces file.14:44
marcoceppilordcirth_: let me run it again, but it's a pretty long menu14:58
TJ-rbasak: I thought as much... Just added a lot of IPv6 addresses, time to write a manual script to do it for me15:01
marcoceppilordcirth_: 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:04
marcoceppiIdeally, this is where the preseed would have taken place to avoid having to run through these steps on screen15:05
marcoceppilordcirth_: both bionic and xenial give me the same result :|15:13
lordcirth_marcoceppi, oh, that menu. That generally happens when you click Back, or something goes wrong15:32
marcoceppiyeah, 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 far15:33
rbasakmarcoceppi: hello, BTW :)15:33
rbasakHope you're well!15:33
marcoceppio/ rbasak! Doing well except for this stubborn netboot ;)15:34
rbasakSorry I can't help with that. It's been years since I touched d-i netboot.15:34
marcoceppino worries, it's good to know this menu is because somethings wrong15:35
marcoceppihope you're doing well too!15:35
lordcirth_marcoceppi, you can switch to a tty and read the logs15:35
rbasakI'm good thanks!15:35
marcoceppilordcirth_: I dropped to a busybox shell and more'd the logs15:36
rbasakIIRC 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 particular15:36
marcoceppiI saw it set the values from append, and get the value for preseed/url twice15:36
marcoceppibut I'm not sure where that woudl be stored if it downloaded it, for example15:36
marcoceppilordcirth_: what should I be looking for?15:37
lordcirth_marcoceppi, I forget the path, but there's an installer log as well.15:38
marcoceppilordcirth_: so I found /var/lib/preseed/log which shows my choices from the append line. `/var/log` only has syslog. I'll hunt for installer15:39
lordcirth_marcoceppi, That might be the one I'm thinking of. Can you pastebin it?15:40
marcoceppiehhhhhhhhhh, probably not in this busybox, but it's essentially what's in my kernel append. let me try15:41
marcoceppiI'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 item15: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 normal15:43
marcoceppiexcept I set this to critcal, and my preseed file is fetched over the network15:44
lordcirth_marcoceppi, and your network didn't come up?15:44
marcoceppiIt didn't until I ran that step in the aforementioned installer box15:44
lordcirth_Do you have multiple interfaces?15:44
marcoceppiI have a pastebin now15:44
marcoceppiI have 415:44
marcoceppihttps://termbin.com/vy6n15:45
lordcirth_marcoceppi, "critcal" should be "critical"15:45
marcoceppi... let me try that15:46
marcoceppilordcirth_: thanks for your help, apparently my speeeling caused quite a few days of no progress16:12
=== Sebastien is now known as Dad
lordcirth_marcoceppi, lol. So it works now?16:36
marcoceppiyeah >.>16:40
marcoceppiI just need to get the Installer Boot Menu to timeout and go to the install option I think I have that figured out16:40
marcoceppiotherwise install went swimmingly16:40
marcoceppithanks again for your help lordcirth_16:42
lordcirth_marcoceppi, you're welcome!16:43
lordcirth_strixdio, Are you trying to ssh as root?16:50
strixdioany reason a fresh install of ubuntu server would be giving me access denied for ssh?16:50
strixdiowhoops16:50
strixdiono16:50
strixdiothe standard user that was created in the wizard during install16:50
lordcirth_strixdio, and the same password works on a tty?16:50
strixdiocorrect16:51
strixdioI'm getting a literal "access denied"16:52
lordcirth_strixdio, does it list auth methods when it says that?16:52
strixdiohmmmmm actually, hang on a sec.16:52
strixdiosomething isn't right.16:52
lordcirth_I would also confirm that it is the host you think it is.16:52
strixdioit definitely is16:52
strixdiobut checking it for a network connection on the TTY, it has nothing16:53
strixdionow, 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
strixdioyes16:53
lordcirth_ /etc/netplan/*16:53
strixdiointerfaces?16:53
strixdioo16:53
strixdioand restarting the network?16:54
lordcirth_strixdio, 'netplan apply'16:54
strixdiothanks.16:55
strixdiostrange though lol16:55
cyphermox"access denied" wouldn't be a return due to missing network16:55
strixdiohmmm16:55
strixdioI can't ping anything though16:55
strixdioso I want to first make sure that's all sorted16:56
cyphermoxyup16:56
strixdioderp.16:57
cyphermoxtwo machines, one IP?16:58
strixdiohad it on the wrong network16:58
strixdio:D16:58
strixdiothat's all it was.17:00
strixdionot sure why I was getting access denied earlier...17:00
* strixdio shrugs17:01
strixdioanyway, thanks :)17:01
=== Sveta is now known as Guest81408
=== svetlana is now known as Sveta
mwhudsonanyone want to test a live-server installer that supports reusing partitions? :)23:59

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