Skip to content

Commit 387f1c4

Browse files
MDBF-712 Fix Libvirt startup script
Libvirt authenticates with qemu+ssh to hosts that provide VM workers. It requires the private key for the session user and the list of known hosts. Since the script was adapted to the new buildbot.tac paths, we need to ensure that we locate the two files mentioned above and copy them into the .ssh directory of the master container's user.
1 parent ebeafa1 commit 387f1c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ echo "Crossbar started"
3333
if [[ $1 == "master-libvirt" ]]; then
3434
[[ -d /root/.ssh ]] || {
3535
mkdir /root/.ssh
36-
cp id_ed25519 /root/.ssh
37-
cp known_hosts /root/.ssh
36+
cp ./master-libvirt/id_ed25519 /root/.ssh
37+
cp ./master-libvirt/known_hosts /root/.ssh
3838
}
3939
fi
4040

0 commit comments

Comments
 (0)