sparksportlegacy / openvpn

MIT License
0 stars 0 forks source link

Bug: systemd-resolve: command not found #3

Open stl-victor-sudakov opened 3 weeks ago

stl-victor-sudakov commented 3 weeks ago

Is there an existing issue for this?

Orb version

1.0.0

Current behavior

The orb tries to use the systemd-resolve command which is not present/not installed on the machine image. I'm using the ubuntu-2404:current image.

Minimum reproduction config

This is the output of the "VPN setup" step:

10.0.164.142
10.0.81.210
10.0.133.91
10.0.7.0
10.0.59.180
10.0.116.221
/bin/bash: line 39: systemd-resolve: command not found
^@^@<14>Aug 20 08:57:05 update-systemd-resolved: Link 'tun0' coming up
<14>Aug 20 08:57:05 update-systemd-resolved: Adding DNS Routed Domain .
<14>Aug 20 08:57:05 update-systemd-resolved: Adding IPv4 DNS Server 8.8.8.8
<14>Aug 20 08:57:05 update-systemd-resolved: Adding IPv4 DNS Server 8.8.4.4
<14>Aug 20 08:57:05 update-systemd-resolved: SetLinkDNS(4 2 2 4 8 8 8 8 2 4 8 8 4 4)
<14>Aug 20 08:57:05 update-systemd-resolved: SetLinkDomains(4 1 . true)
<14>Aug 20 09:03:10 update-systemd-resolved: Link 'tun0' going down

Other

No response

stl-victor-sudakov commented 3 weeks ago

I think a viable solution would be to replace this command with resolvectl status