I tried after updating to VyOS 1.2.0 LTS from rolling release RC4 to remove my wireguard interface since it is no longer working and i wanted to try to reapply it.
This is the error i get
[edit]
fma@glos1ce1dk# comp
[edit interfaces]
-wireguard wg0 {
- address 10.0.100.1/24
- description Core
- peer colowall {
- allowed-ips 10.0.90.0/24
- allowed-ips 10.20.30.0/24
- allowed-ips 10.0.1.0/24
- allowed-ips 10.201.201.0/24
- allowed-ips 10.202.202.0/24
- allowed-ips 172.20.1.0/24
- endpoint 83.X.X.X:54321
- pubkey secret=
- }
- port 54321
-}
[edit]
fma@glos1ce1dk# commit
[ interfaces wireguard wg0 ]
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/wireguard.py", line 356, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/wireguard.py", line 152, in apply
buf = open('/sys/class/net/' + dev + '/uevent', 'r').read()
NotADirectoryError: [Errno 20] Not a directory: '/sys/class/net/bonding_masters/uevent'
delete [ interfaces wireguard wg0 ] failed
Commit failed
[edit]
fma@glos1ce1dk#