Skip to content

Commit

Permalink
assisted-installer-agent: copy credentials to packet machine, as we a…
Browse files Browse the repository at this point in the history
…re using private image as base now (#44514)

Signed-off-by: Riccardo piccoli <rpiccoli@redhat.com>
  • Loading branch information
rccrdpccl authored Oct 18, 2023
1 parent 3b418c3 commit e0f4f93
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ source "${SHARED_DIR}/packet-conf.sh"

tar -czf - . | ssh "${SSHOPTS[@]}" "root@${IP}" "cat > /root/assisted.tar.gz"

# copy pull-secret
ssh "${SSHOPTS[@]}" "root@${IP}" "mkdir -p /root/.docker"
cat "${CLUSTER_PROFILE_DIR}/pull-secret" | ssh "${SSHOPTS[@]}" "root@${IP}" "cat > /root/.docker/config.json"

echo "### Setting up tests"
timeout --kill-after 10m 120m ssh "${SSHOPTS[@]}" "root@${IP}" bash - << EOF
# install and start docker
Expand Down

0 comments on commit e0f4f93

Please sign in to comment.