=== genii-core is now known as genii === genii-core is now known as genii === stgraber is now known as stgraber_ === stgraber_ is now known as stgraber === frederik1 is now known as genkgo1 [07:30] ddstreet: I failed to get AddPrefixRoute=false working. I added the .network filein /etc/systemd/network, with a Match and the [Address] containing this param. === genkgo1 is now known as genkgo [07:30] but after boot, the prefix routes were still there === Adri2000 is now known as Adri2000_ === Adri2000_ is now known as Adri2000 [12:29] genkgo you should check networkctl output to see if your network file is actually what networkd is matching to the interface, if you left netplan-generated network file in /run/systemd/network then that might be used instead of yours [12:30] (well, i should say if you left the netplan yaml that creates the networkd .network file for your interface, it may be used instead of your hand-created .network file) [12:39] ddstreet: it cannot be that my own .network file is additional to what is already defined by netplan? [12:43] no [12:43] networkd only uses a single .network file [12:43] if you want to add on or modify it, you have to use systemd drop-in files, you can't define a second .network file [12:46] ddstreet: clear, thanks for helping me! === remhaze is now known as remhazee === remhazee is now known as remhaze === remhaze is now known as remhazee === remhazee is now known as remhaze [15:13] Hey all, trying to autoinstall ubuntu server via PXE. It appears meta-data and user-data are being read, bit it doesn't autoinstall: https://pastebin.ubuntu.com/p/2fmbrDfT5y/ Checked and I can http to meta-data and user-data path. Any ideas? I saw something about an installer ssh key, but it went by too quickly, and using http, not ssh. [15:16] My pxelinux.cfg/default looks like this: https://pastebin.ubuntu.com/p/QTZFqHgC4v/ [15:47] The message I mentioned earlier is ci-info: no authorized ssh keys fingerprints found for user installer/join #kwlug [15:47] Ooops, sorry, thought I cleared everything. [18:38] <_DWD_> Is it possible to configure Ubuntu Server to not update snaps unless explicitly requested? [18:39] _DWD_: no. You can only schedule them, but eventually they will get updated [18:40] what happens if you pihole the store ? or something like that. [18:43] <_DWD_> My friend has asked me this question, and I'm intrigued. The temporary solution i've given him is to use a cron job to continuously set back the refresh date. Some people have mentioned blocking the url, but that seems a bit ineligant [18:47] Or you can totally remove snaps [18:47] Which is what I do in an post install script [18:51] uninstalling snapd is the easiest way to make sure snaps don't auto-update [18:51] Yup [18:51] you could probably also firewall or null route the servers in question [18:51] in case you wanted to use them, and select the moments you wanted them to be auto-updated [18:52] or you could buy a brand store and control when packages are updated that way, similar to running a free aptly instance [18:59] <_DWD_> not so good when the tool they need, maas, is snap only :P [19:00] _DWD_: maybe use a snap store proxy? https://docs.ubuntu.com/snap-store-proxy/en/ [19:01] this lets you ping a given snap revision [19:01] s/ping/pin/ [19:02] we have https://discuss.linuxcontainers.org/t/managing-the-lxd-snap/8178 for LXD which likely has a few pointers that can be applied to maas too [19:05] stgraber: that looks like it requires upstream to pin a version. If MAAS doesn't have a pinned version, this doesn't work. It also doesn't work for pinning the latest version [19:06] <_DWD_> thank you, that's very useful info to know :) [19:07] leftyfb: maas has per-release channels very similar to what LXD does, so you can at least pin on the version, then if that version is the latest one, you're still going to be getting the bugfix updates so may want to setup a maintenance window for those. If you want to completely control things, then an enterprise proxy or preventing snapd from reaching the store is the way to go. [19:08] _DWD_: your cron job also won't work indefinitely: "However after 60 days a refresh will occur irrespective of the value of refresh.hold." [19:11] <_DWD_> right, that's an important thing I didn't know [19:12] <_DWD_> Why was the decision taken to feature this behaviour and not to allow admins to completely hold all snap updates/ [19:22] okay, I haven't used IRC in a few years - how do I register my name? [19:23] Its a "feature" of snaps......hence why I remove all snaps etc from alll my installs [19:24] Ussat: I wish I could. But snap is the "canonical" way to install maas afaik. The apt packages are just metapackages for the snap [19:24] <_DWD_> @gorian https://libera.chat/guides/registration [19:24] eww...sorry to hear that, we dont use MaaS [19:25] I don't want to, lol. Some developer who knows nothing about systems administration deployed it as a snap before I joined the team [19:25] Ya I refuse to have anything on my servers that restarts without me knowing / controlling it [19:25] Gorian , you have my sympathy [19:26] and maas gets it's little roots in everything - it configures everything to PXE to maas, manages the servers via cloud-init, and requires that it is in charge of DHCP and DNS [19:26] <_DWD_> now i feel a desperate urge to do a stock-check on what I have running on my server that's snappy [19:26] it's a bit hard to replace [19:26] working on it, but it's not simple [19:26] Ya I hear ya [19:27] <_DWD_> I'm alright haha I only have the livespatch snap and core/core18 === Gorian is now known as Gorian_ === Gorian_ is now known as Gorian === Gorian_ is now known as Gorian === Gorian_ is now known as Gorian