/srv/irclogs.ubuntu.com/2022/06/03/#ubuntu-server.txt

=== xispita_ is now known as xispita
Olivier67Hi all ,14:00
Olivier67I  have an issue with cloud images that I want to install on a VMware system and using the cloud-init configuration14:01
Olivier67I'm using the settings guestinfo.userdata(s) .14:01
Olivier67the problem is that the hostname is well changed14:01
Olivier67but I can't login into the system14:01
Olivier67as my users are not created correctly14:02
Olivier67so I can't look at logs14:02
Olivier67anyone has an idea ?14:02
Olivier67if I'm using the userdata info through a lxc container , it works14:02
guesswhatIs possible to change mac on vlan interface in netplan? Or do I need to figure out some mac spoofing ? Thanks14:41
sdezielguesswhat: yes, there is an example in https://netplan.io/reference/14:44
sdezielguesswhat: search that page for "macaddress (scalar)"14:44
guesswhatsdeziel: i tried it,  but that mac is staying unchanged14:45
guesswhatproly I need to use match also14:47
sdezielguesswhat: yes, you need to match using the original MAC then set the new one14:47
guesswhatsdeziel  Error in network definition: unknown key 'match'14:48
sdezielalthough, on a VLAN device, the name is probably stable so it could in theory be used as match criteria but I'd use the MAC instead14:48
guesswhatproly not gonna work in vlans14:48
sdezielguesswhat: could you share the .yaml please?14:49
guesswhatsdeziel https://pastebin.com/raw/TFid6ZuV14:53
guesswhatits working, netplan is not enough14:56
guesswhat*netplan apply14:56
guesswhatit required reboot14:56
sdezielguesswhat: cool!14:56
patdk-laphttps://apaste.info/Wlam14:57
patdk-lapwhat I'm using14:57
sdezielpatdk-lap: I don't know your environment but here's a gratuitous remark: with those `dhcp4: no` I would have expected `accept-ra: no` and `link-local: []`15:03
schopinguesswhat: it doesn't make sense to change the MAC of a VLAN interface, you want to change the MAC of the underlying interface.15:04
patdk-lapthat depends15:05
patdk-lapI have seen some people that want to use a seperate mac on each vlan15:05
patdk-lapand have seen switches that are stupid, and don't seperate mac per vlan when routing15:05
patdk-lapI am using ra for ipv6 so, plus it is set via sysctl15:06
patdk-lapI will set a static ipv6 and use ra's15:07
patdk-lapwith ra's being filtered on the switch15:07
sdezielpatdk-lap: I'm not used to needing RA on the members of a bond is all :)15:09
patdk-laphmm, maybe not at that level15:10
guesswhatschopin: maybe, but I need to plug a port/nic from the same network, so first port is a bridge and second one is vlan, same network range, but the vlan IP is blacklisted in bridge15:12
athosHi utkarsh2102 :) are you still willing to drive LP: #1932552?15:40
ubottuLaunchpad bug 1932552 in symfony (Ubuntu Focal) "php-symfony-dependency-injection not working with php 8" [High, Confirmed] https://launchpad.net/bugs/193255215:40
utkarsh2102athos: yes! 🥺18:57

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