diff --git a/yadm b/yadm index 003d9540..2ce94738 100755 --- a/yadm +++ b/yadm @@ -753,6 +753,19 @@ function bootstrap() { # GIT_DIR should not be set for user's bootstrap code unset GIT_DIR + local local_class + local local_system + local local_host + local local_user + local local_distro + set_local_alt_values + + export YADM_CLASS="$local_class" + export YADM_OS="$local_system" + export YADM_HOSTNAME="$local_host" + export YADM_USER="$local_user" + export YADM_DISTRO="$local_distro" + echo "Executing $YADM_BOOTSTRAP" exec "$YADM_BOOTSTRAP"