Add cloud-localds as a required program
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-06 17:19:11 +02:00
parent c8b42626a9
commit 9bd702d60f
6 changed files with 37 additions and 30 deletions

View File

@ -145,13 +145,13 @@ struct IPBridgeInfo {
/// Get the list of bridge interfaces
pub fn bridges_list() -> anyhow::Result<Vec<String>> {
let mut cmd = Command::new(constants::IP_PROGRAM);
let mut cmd = Command::new(constants::PROGRAM_IP);
cmd.args(["-json", "link", "show", "type", "bridge"]);
let output = cmd.output()?;
if !output.status.success() {
anyhow::bail!(
"{} failed, status: {}, stderr: {}",
constants::IP_PROGRAM,
constants::PROGRAM_IP,
output.status,
String::from_utf8_lossy(&output.stderr)
);