From 92d6c965b47f04eafa18a388bd63c3cda302c345 Mon Sep 17 00:00:00 2001 From: Din Music Date: Tue, 3 Dec 2024 12:26:32 +0000 Subject: [PATCH] commands/daemon: Redirect iscsiadm to the host Signed-off-by: Din Music --- snapcraft/commands/daemon.start | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapcraft/commands/daemon.start b/snapcraft/commands/daemon.start index afc808c8..4db408af 100755 --- a/snapcraft/commands/daemon.start +++ b/snapcraft/commands/daemon.start @@ -236,6 +236,9 @@ ln -s "${SNAP}/wrappers/run-host" "/run/bin/getent" # Redirect pro to the host ln -s "${SNAP}/wrappers/run-host" "/run/bin/pro" +# Redirect iscsiadm to the host. +ln -s "${SNAP}/wrappers/run-host" "/run/bin/iscsiadm" + # Avoid xtables talking to nft ln -s "${SNAP}/bin/arptables-legacy" "/run/bin/arptables" ln -s "${SNAP}/bin/ebtables-legacy" "/run/bin/ebtables"