Skip to content

Commit

Permalink
commands/daemon: Redirect iscsiadm to the host (#646)
Browse files Browse the repository at this point in the history
Redirects `iscsiadm` command to the host. Required for the upcoming
PureStorage integration with iSCSI.
  • Loading branch information
tomponline authored Dec 11, 2024
2 parents 3240ed4 + 92d6c96 commit 1978dd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snapcraft/commands/daemon.start
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1978dd5

Please sign in to comment.