You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We use Cumulus Linux with Virtual Routing and Forwarding (VRFs). One of the VRFs is the management (mgmt) VRF. The internal Debian mirror, for example, can only be accessed from this mgmt VRF.
Scripts / commands can be executed in the mgmt VRF as follows:
sudo ip vrf exec mgmt apt-get install snmp-mibs-downloader
Since salt installs the Debian packages with apt via systemd-run, only the default VRF is used and our Debian mirror is not accessible.
Describe the solution you'd like
We use the following patch in salt/modules/aptpkg.py
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!
dmurphy18
changed the title
salt should be able to handle Cumulus Linux VRFs (Virtual routing and forwarding)
[FEATURE REQUEST] Salt should be able to handle Cumulus Linux VRFs (Virtual routing and forwarding)
Oct 24, 2024
Is your feature request related to a problem? Please describe.
We use Cumulus Linux with Virtual Routing and Forwarding (VRFs). One of the VRFs is the management (mgmt) VRF. The internal Debian mirror, for example, can only be accessed from this mgmt VRF.
Scripts / commands can be executed in the mgmt VRF as follows:
sudo ip vrf exec mgmt apt-get install snmp-mibs-downloader
Since salt installs the Debian packages with apt via systemd-run, only the default VRF is used and our Debian mirror is not accessible.
Describe the solution you'd like
We use the following patch in salt/modules/aptpkg.py
In the minion configuration (/etc/salt/minion.d/local.conf) we define the VRF:
systemd.vrf: mgmt
Describe alternatives you've considered
n/a
Additional context
Cumulus Linux - Virtual Routing and Forwarding - VRF.
The text was updated successfully, but these errors were encountered: