=== genii is now known as genii-core [07:37] Good morning [10:35] Hi @all. Here is someone who knows “subiquity” (new installer for Ubuntu server) and can tell me if it's possible to make a full automatic and _*minimal*_ install of Ubuntu server, for instance without snapd (in clear just with openssh-server installed)? Thx for your help. [10:37] (in my case it's Ubuntu Focal Fossa 20.04) [10:47] (and doc of subiquity is here https://ubuntu.com/server/docs/install/autoinstall-quickstart) [11:56] a thought comes to mind when joing here, anyone noticed the newer installers are labeled "live" and not "installer"? its confused me a few times [13:45] flaf: have you played with the late-commands portion of autoinstall? I expect it should do what you want but haven't tested that case yet. [13:47] dbungert: yes, I see it. So, in this case, I should have to run something like “apt-get purge ”. But I'm wondering if it can be possible to limit installation to a minimum of packages from the start. [13:48] dbungert: but I think it's impossible, I'm afraid. [13:48] flaf: for your exact case, no. [13:49] dbungert: ok, thx for your confirmation. [13:49] we have some work in progress on a install source that is 500MBish smaller and "not intended for humans", but it doesn't address your snapless scenario [13:50] dbungert: "not intended for humanss"? [13:51] flaf: ie to help save space we remove stuff that people using the device interactively might want - but things like apt are still there so you can human-ify it if needed :) [13:53] dbungert: interesting. How can I follow this project and know when it will be released? [13:55] new subiquity will support it for the upcoming Impish release (and subsequent releases), not sure if it will apply to Focal === genii-core is now known as genii [14:01] isnt subiquity itself moving to become a snap (for upgraeability during install) ? [14:01] ogra: is already [14:01] and it can do the upgrade during install, if the user chooses to do so when prompted [14:02] ogra: subiquity is a snap during the installer "session". [14:04] but the target installation can be installed without snap (in theory). [14:33] dbungert, right, that was what i remembered ... i was just wondering if that might have any impact on the target system ... but seems like not [14:40] ogra: I think I'm missing something, would you elaborate? [14:41] dbungert, i was wondering if the snap or parts of it would be needed/required in the installed target for some reason ... but since thats not the case snapd is indeed removabe from the target ... all fine [14:41] ah yes, subiquity has no business on the installed target system [14:41] right === paride1 is now known as paride [15:37] dbungert: do you know why, during the installation via subiquity, the OS installer try to connect https://api.snapcraft.io? [15:38] it enumerates a list of suggested snaps for the snaps page [15:39] also might be involved in subiquity's check for a new version of subiquity [15:40] dbungert: in my case, the VM has no Internet access, only a proxy for APT. But it seems to not be a problem during my auto-installation. [18:24] dbungert: sorry for the ping, I have tried this in late-commands => “curtin in-target --target=/target -- apt-get -y -q purge snapd” during my automatic install. But I can see the error message “finish: subiquity/Late/run: ... purge snapd']' returned non-zero exit status 100.” Is there a log file where I can see the output of the command to see the error (maybe)? [18:25] flaf: check journalctl, it outputs additional information. I'd love to have all that in the subiquity log also but for now it's in the journal. [18:26] Ok, thx dbungert. [18:33] flaf: just be wary of LP: #1939176, which I do expect we'll have fixed in the next release [18:33] Launchpad bug 1939176 in subiquity "Hangs every now and then" [Undecided, In Progress] https://launchpad.net/bugs/1939176 [18:33] (late-commands related hang) [18:39] dbungert: ok, thx for the information. In my case, it's a problem during the purge where a postscript try a ummount in /run/... which fails. [18:42] flaf: that one sounds like we should file a bug, if you don't mind. https://bugs.launchpad.net/subiquity/+filebug [18:46] dbungert: I can file a bug but I'm not sure it's a bug in this case. During the "curtin in-target --target=/target -- apt-get purge snapd", a postscript wants to unmount a mountpoint in /run/snap/... (sorry I don't remember the path exactly). And it's logic that the directory in not yet mounted because the target OS is not started yet. So for me it's not a bug, no? [18:48] flaf: maybe, maybe not. In my opinion late-commands should be a fairly rich mechanism for customizing the install - an escape hatch for things we don't have direct support for. If it's as easy as mounting something it needs, that sounds worthwile. [21:44] dbungert, paride: ah seems the test answer files all need sources: sections adding === genii is now known as genii-core