/srv/irclogs.ubuntu.com/2021/10/12/#ubuntu-server.txt

=== tomreyn_ is now known as tomreyn
lordievaderGood morning06:32
=== ginggs_ is now known as ginggs
=== sdeziel_ is now known as sdeziel
=== genii-core is now known as genii
wrsuserIs there a way of installing Ubuntu Server (from the new... and far more awful ISO that uses subiquity) without it installing the package 'ubuntu-server' 16:25
wrsuserWhich drags in a whole bunch of things that are frankly really presumptuous to think everyone needs16:25
leftyfbwrsuser: I'm pretty sure the new server installer just blasts an image onto the drive. If that is the case, you are unlikely to be able to customize what packages are removed 16:31
leftyfbI could be wrong though16:31
leftyfbthe install goes SUPER quick, leading me to believe it's just an image16:31
wrsuseryeah I thought that too16:31
wrsuserPeople keep asking on IRC and on the forums 'what is it about subiquity you think is missing!? oh but it's so lovely, tell us!' ... well that really... without the 'ubuntu-server' package... it at least has a better hope in hell of being closer to what mini.iso did16:31
rbasakI think that's right. You can install it manually by doing what the installer would do. All sources are available, etc, so ultimately any customisation you want is possible. But you need to know what you're doing to avoid leaving yourself latent issues.16:31
wrsusersubiquity is hell16:32
leftyfbfor customization, sure. If that's what you want, then use the other installer and/or debootstrap16:33
wrsuserthere is no supported/official other installer any more16:33
leftyfbwrsuser: http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/mini.iso16:34
rbasakIt was never supported in the first place: https://discourse.ubuntu.com/t/netbooting-the-live-server-installer/14510/10?u=rbasak16:35
wrsuserYou did see I already mentioned 'mini.iso' right?16:35
leftyfbwrsuser: mini.iso doesn't use subiquity 16:36
wrsuserI already know that!16:36
leftyfbwrsuser: ok, so what's wrong with using that?16:37
wrsuserIt's a) not "supported", b) out of date, c) won't exist in the next LTS at all, d) doesn't even give you a proper login prompt on reboot16:37
wrsuserbasically... abandoned long ago16:37
wrsuserI'm NOT using subiquity out of choice :P16:38
leftyfbwrsuser: you could use cloud-init to customize the install on first boot16:42
leftyfbwrsuser: other than that, I don't think there's a supported solution 16:42
JanCmaybe the subiquity installer can be improved to allow choosing between multiple images...?16:54
catalasecan someone advise on how to get this line: /home/ubuntu/update.sh | while IFS= read -r line; do printf '%s %s\n' "$(date)" "$line"; done >> /home/ubuntu/update.log; to work in sudo crontab -e16:54
sarnoldcatalase: best to create that as a shell script and just call the script. that's complicated enough that doing it in a cron one-liner is probably annoying16:55
wrsuserJanC, isn't the ISO large enough? :D  it's like 1.2gb!!17:28
wrsuserfor a SERVER install lol17:28
JanCit's not like a minimal image would add much to that17:30
wrsuseron a fresh ubuntu server 20.04 install... why (on first and subsequent bootups) do I get the usual... 18:03
wrsuser[  OK  ] Started Network Name Resolution.18:03
wrsuser[  OK  ] Reached target Host and Network Name Lookups.18:03
wrsuser... but then it'll wait for a full 2 minutes doing naff all on... 18:03
wrsuser[   ***] A start job is running for Wait for Network to be Configured (1min 5s / no limit)18:03
wrsuseris this some cloud-init bullshit without it telling me?18:03
jrwrennot likely. more likely is some systemd service not starting correctly.18:04
wrsuseri think it might be something to do with it being a NUC18:06
wrsuserlike subiquity has thought it'd be a bright idea to configure things by default to try dhcp on BOTH wired and wireless interfaces18:07
wrsuseror actually maybe even trying dhcp on all 3 wired interfaces18:09
Odd_BlokeIIRC, Wait for Network to be Configured blocks until it has networking on _an_ interface that's configured, not every interface that's configured.18:14
wrsuserhttps://i.snipboard.io/NqAHYw.jpg18:17
wrsuseri took photos of each silly subiquity step 18:17
wrsuseri left this screen as it was and just moved on18:17
wrsuserbut my guess is because it's set to 'DHCPv4' on all 3 wired ethernet interfaces (even though the other two are USB ethernet devices) ... the install on disk tries DHCPv4 on all 3 interfaces too18:18
wrsuseri don't remember there being an option at install time to tell it *not* to use those interfaces18:19
Odd_BlokeSo does eno1 in this case have networking?18:45
wrsuserOdd_Bloke, yeah19:10
wrsuserbut the other two enx* interfaces didn't have anything plugged into them19:10
wrsuserwhere the heck does a fresh ubuntu server install even keep it's network config?  because it's not in /etc/network/interfaces and it's not in /etc/NetworkManager either by looks of it19:13
wrsuserbut I'm betting wherever it is... the installer set the two unused interfaces to dhcp 19:14
wrsuser'netplan' what the heck is that19:14
wrsuserand yup 00-installer-config.yaml has them set to dhcp19:15
tomreynwhat did you do those past 5 years when you weren't using computers?19:15
wrsuseroh so I really hate subiquity and the silly notion of a 'ubuntu-server' spin 19:15
jrwrenubuntu has changed!19:15
wrsusertomreyn, for servers?  I used Debian :P19:15
tomreynoh, well, ubuntu isn't debian. and less so with each new release.19:16
wrsuserdesktop ubuntu isn't using netplan though right? 19:16
tomreyndesktop uses network manager without netplan. you could make desktop use netplan, too, if oyu wanted, as oyu can make server use network manager with or without netplan, too19:17
wrsuserah :)  just a file that says use networkmanager :P19:17
tomreynbut server defaults to systemd-networkd with netplan19:17
wrsuseryeah I'm really hating this - that's yet another thing to fix then19:17
tomreyncurrent systemd-networkd config will be in /run/19:18
wrsusermy goal here is to build a desktop (technically a terminal server, but essentially that's 99% a desktop) and have it as close to desktop defaults as possible19:18
wrsuserso network-manager instead of "netplan" for example19:18
wrsuserthis server ISO is just horrid for this task19:18
jrwrencan you apt install ubuntu-desktop and get something closer to what you want?19:19
wrsuserthat's not going to undo all the stuff that subiquity preconfigured for a server approach (e.g. like netplan... and installing the 'ubuntu-server' metapackage)19:20
wrsuserand who knows how many other things...19:20
wrsuserit's just not a proper substitute for mini.iso (which after I briefly tried it... reminds me a lot of the debian netinst ISO... i.e. both the installer and the subset of packages that got installed) 19:20
tomreynthere's debootstrap19:22
wrsuserthat's not really comparable19:22
tomreynto debian-installer? no, but it provides the most flexibility19:23
TJ-debootstrap or mkosi for total customisation functionality. mkosi is better for customisations19:24
wrsuserwith a debian-netinst/ubuntu-mini.iso...-like approach... you didn't have to worry about installing extra packages that the system may need (e.g. intel microcode, open-vm-tools, etc...)... or partitioning... or installing a bootloader... or setting up a host file... or a million other things.19:24
TJ-mkosi can produce bootable raw disk images, or simple root-file-systems19:24
wrsuseryou could just fill in that debian-installer wizard with a wrist most times (I've done it that often) and bingo... a working system you can get straight to apt-get'ing whatever extra you need19:24
wrsuserdebootstrap is NOT comparable and no substitute 19:25
wrsuserthe extra hassle only makes sense if you doing a MASSIVE amount of systems regularly19:25
TJ-sounds like all the time you've spent on this, deboostrap/mkosi could have done 90% of the work in 2 minutes19:26
tewardcpaelzer: fyi I am not an expert in the Lua module on NGINX, but check to make sure the lua jit stuff is in build-depends and that it actually installs and doesn't fail19:41
tewardthat's the only reason your build failure as indicated would happen to my knowledge if it's not provided and not in ld19:41
tewardthat's the only reason your build failure as indicated would happen to my knowledge if it's not provided and not in ldd or w/eit is (brain isn't working >.>)19:42

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