/srv/irclogs.ubuntu.com/2025/02/09/#ubuntu-server.txt

=== patrick_ is now known as patrick
=== patrick is now known as Guest1232
PeGaSuShi. is there a way to make my machine accept outgoing/incoming connections in any IPv6 address of my subnet without having to specify it on the netplan config?13:43
ravagei think the short answer here is no13:44
ravageif the IP is not bound to your system it cant interact with it13:44
PeGaSuSI'd have to use something like https://github.com/blechschmidt/freebind, probably?13:45
ravageyes that can work13:45
PeGaSuSthanks!13:46
PeGaSuSI know that this is insecure, but I have a user that can execute sudo commands without needing the password. but when I try `echo "# Something" >> /etc/netplan/50-cloud-init.yaml` I get a "-bash: /etc/netplan/50-cloud-init.yaml: Permission denied"14:47
patdkheh? linux has supported subscribing to a whole subnet of ip's for a very very long time15:54
patdkip route add local 2001:db0::/32 dev lo15:56
PeGaSuShow does that works on Ubuntu + Netplan?16:37
patdkyou just add a route in netplan17:38
oerhekssome reading and examples https://github.com/canonical/netplan/tree/main/examples17:48
oerhekshttps://people.ubuntu.com/~slyon/netplan-docs/examples/17:49
moo3PeGaSuS: try - `sudo bash -c "echo \#something >> /etc/netplan/..."`18:01
moo3but also you should probably use yq for that18:02
patdknot sure why you need a comp[lex example18:04
patdkhttps://dpaste.com/2ASCZS9QQ18:08
patdkmight need to be scope: link18:10
fricklerthis is a common alternative that doesn't need extra quoting: echo something | sudo tee /etc/netplan/50-cloud-init.yaml18:11
frickler(for the "permission denied" issue)18:12
patdkboth ways work for me atleast18:12
=== sdeziel_ is now known as sdeziel
=== oerheks1 is now known as oerheks

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