Commit-archive function does not work with VRF and transport git.
Configuration
set interfaces ethernet eth0 address '192.168.43.100/24' set interfaces ethernet eth0 description 'test' set interfaces ethernet eth0 vrf 'TEST' set system config-management commit-archive location test git authentication username 'TOKEN' set system config-management commit-archive location test git path 'PATH TO GIT REPO' set system config-management commit-archive location test git server 'github.com' set system config-management commit-archive location test git transport 'https' set system config-management commit-archive vrf 'TEST' set system name-server '8.8.8.8' set vrf name TEST protocols static route 0.0.0.0/0 next-hop 192.168.43.2 set vrf name TEST table '200'
After committing, I got an error:
vyos@vyos# commit Archiving config... test: git+https://github.com/<PATH TO GIT REPO> Unable to upload "git+https://github.com/<PATH TO GIT REPO>/config.boot-test2.20261113_161912": Permission denied: cannot execute commands in VRF and netns contexts as an unprivileged user run-parts: /etc/commit/post-hooks.d/02vyos-commit-archive exited with return code 1 [edit] vyos@vyos#