ISO tweaks

This commit is contained in:
Ben Duncan
2026-04-16 09:29:00 +10:00
parent 24429ee8b5
commit 25d02707d0
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -142,7 +142,8 @@ spinifex-daemon ALL=(root) NOPASSWD: /sbin/ip, /usr/sbin/ip
spinifex-daemon ALL=(root) NOPASSWD: /usr/bin/ovs-vsctl, /usr/bin/ovs-appctl
spinifex-daemon ALL=(root) NOPASSWD: /usr/sbin/dhcpcd
# Spinifex VPC daemon: OVN and OVS read/write, OVN controller status check
# Spinifex VPC daemon: OVN and OVS read/write, OVN controller status check and DHCP
spinifex-vpcd ALL=(root) NOPASSWD: /usr/sbin/dhcpcd
spinifex-vpcd ALL=(root) NOPASSWD: /usr/bin/ovs-vsctl, /usr/bin/ovs-appctl
spinifex-vpcd ALL=(root) NOPASSWD: /usr/bin/ovn-nbctl, /usr/bin/ovn-sbctl
spinifex-vpcd ALL=(root) NOPASSWD: /usr/bin/systemctl is-active --quiet ovn-controller
+1 -1
View File
@@ -146,7 +146,7 @@ func (svc *Service) Reload() error {
var checkBrInt = func() error {
cmd := sudoCommand("ovs-vsctl", "br-exists", "br-int")
if err := cmd.Run(); err != nil {
return fmt.Errorf("br-int does not exist: run ./scripts/setup-ovn.sh --management")
return fmt.Errorf("br-int does not exist (%w): run ./scripts/setup-ovn.sh --management", err)
}
return nil
}