Skip to content

Commit

Permalink
Permits the container to be restarted
Browse files Browse the repository at this point in the history
Otherwise it needs to be delete before starte
  • Loading branch information
fauust committed Nov 9, 2023
1 parent 01034c7 commit e320aab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ echo "Crossbar started"

# ssh-key to connect to workers
if [[ $1 == "master-libvirt" ]]; then
mkdir /root/.ssh
cp id_ed25519 /root/.ssh
cp known_hosts /root/.ssh
[[ -d /root/.ssh ]] || {
mkdir /root/.ssh
cp id_ed25519 /root/.ssh
cp known_hosts /root/.ssh
}
fi

# loop for debug
Expand Down

0 comments on commit e320aab

Please sign in to comment.