/srv/irclogs.ubuntu.com/2021/05/27/#ubuntu-server.txt

=== 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
genkgo1ddstreet: I failed to get AddPrefixRoute=false working. I added the .network filein /etc/systemd/network, with a Match and the [Address] containing this param.07:30
=== genkgo1 is now known as genkgo
genkgobut after boot, the prefix routes were still there07:30
=== Adri2000 is now known as Adri2000_
=== Adri2000_ is now known as Adri2000
ddstreetgenkgo 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 yours12:29
ddstreet(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:30
genkgoddstreet: it cannot be that my own .network file is additional to what is already defined by netplan?12:39
ddstreetno12:43
ddstreetnetworkd only uses a single .network file12:43
ddstreetif you want to add on or modify it, you have to use systemd drop-in files, you can't define a second .network file12:43
genkgoddstreet: clear, thanks for helping me!12:46
=== remhaze is now known as remhazee
=== remhazee is now known as remhaze
=== remhaze is now known as remhazee
=== remhazee is now known as remhaze
chaslinuxHey 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:13
chaslinuxMy pxelinux.cfg/default looks like this: https://pastebin.ubuntu.com/p/QTZFqHgC4v/15:16
chaslinuxThe message I mentioned earlier is ci-info: no authorized ssh keys fingerprints found for user installer/join #kwlug15:47
chaslinuxOoops, sorry, thought I cleared everything.15:47
_DWD_Is it possible to configure Ubuntu Server to not update snaps unless explicitly requested?18:38
leftyfb_DWD_: no. You can only schedule them, but eventually they will get updated18:39
smoserwhat happens if you pihole the store ? or something like that.18:40
_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:43
UssatOr you can totally remove snaps18:47
UssatWhich is what I do in an post install script18:47
sarnolduninstalling snapd is the easiest way to make sure snaps don't auto-update18:51
UssatYup18:51
sarnoldyou could probably also firewall or null route the servers in question18:51
sarnoldin case you wanted to use them, and select the moments you wanted them to be auto-updated18:51
sarnoldor you could buy a brand store and control when packages are updated that way, similar to running a free aptly instance18:52
_DWD_not so good when the tool they need, maas, is snap only :P18:59
sdeziel_DWD_: maybe use a snap store proxy? https://docs.ubuntu.com/snap-store-proxy/en/19:00
sdezielthis lets you ping a given snap revision19:01
sdeziels/ping/pin/19:01
stgraberwe 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 too19:02
leftyfbstgraber: 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 version19:05
_DWD_thank you, that's very useful info to know :)19:06
stgraberleftyfb: 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:07
leftyfb_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:08
_DWD_right, that's an important thing I didn't know19:11
_DWD_Why was the decision taken to feature this behaviour and not to allow admins to completely hold all snap updates/19:12
Gorianokay, I haven't used IRC in a few years - how do I register my name?19:22
UssatIts a "feature" of snaps......hence why I remove all snaps etc from alll my installs19:23
GorianUssat: I wish I could. But snap is the "canonical" way to install maas afaik. The apt packages are just metapackages for the snap19:24
_DWD_@gorian https://libera.chat/guides/registration19:24
Ussateww...sorry to hear that, we dont use MaaS19:24
GorianI don't want to, lol. Some developer who knows nothing about systems administration deployed it as a snap before I joined the team19:25
UssatYa I refuse to have anything on my servers that restarts without me knowing / controlling it19:25
UssatGorian , you have my sympathy19:25
Gorianand 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 DNS19:26
_DWD_now i feel a desperate urge to do a stock-check on what I have running on my server that's snappy19:26
Gorianit's a bit hard to replace19:26
Gorianworking on it, but it's not simple19:26
UssatYa I hear ya19:26
_DWD_I'm alright haha I only have the livespatch snap and core/core1819:27
=== Gorian is now known as Gorian_
=== Gorian_ is now known as Gorian
=== Gorian_ is now known as Gorian
=== Gorian_ is now known as Gorian

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