Skip to content

Commit

Permalink
snapcraft/commands: Link the pro command to the run-host wrapper.
Browse files Browse the repository at this point in the history
This command is used for retrieving tokens for guests. `pro` will never
be packaged inside the snap, so always link it.

Signed-off-by: Mark Laing <[email protected]>
  • Loading branch information
markylaing committed Aug 21, 2024
1 parent bc311bd commit 941456d
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 @@ -227,6 +227,9 @@ fi
# Redirect getent to the host
ln -s "${SNAP}/wrappers/run-host" "/run/bin/getent"

# Redirect pro to the host
ln -s "${SNAP}/wrappers/run-host" "/run/bin/pro"

# 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 941456d

Please sign in to comment.