aboutsummaryrefslogtreecommitdiff
path: root/tests/vm/freebsd
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2024-02-06 01:22:01 +0100
committerThomas Huth <thuth@redhat.com>2024-02-06 10:27:50 +0100
commitfceffd6b3fa8f1e10248baf75af0c62a9f20df7b (patch)
tree686fa4fd69d5cf12ea90c724c1c284fd8543d7d7 /tests/vm/freebsd
parent7f0bf5ea415d7108bebda2013ab782d4ccaaba9d (diff)
downloadqemu-fceffd6b3fa8f1e10248baf75af0c62a9f20df7b.zip
qemu-fceffd6b3fa8f1e10248baf75af0c62a9f20df7b.tar.gz
qemu-fceffd6b3fa8f1e10248baf75af0c62a9f20df7b.tar.bz2
tests/vm/freebsd: Reload the sshd configuration
After console_sshd_config(), the SSH server needs to be nudged to pick up the new configs. The scripts for the other BSD flavors already do this with a reboot, but a simple reload is sufficient. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-ID: <20240206002344.12372-3-iii@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/vm/freebsd')
-rwxr-xr-xtests/vm/freebsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vm/freebsd b/tests/vm/freebsd
index b581bd1..1247f40 100755
--- a/tests/vm/freebsd
+++ b/tests/vm/freebsd
@@ -108,6 +108,7 @@ class FreeBSDVM(basevm.BaseVM):
prompt = "root@freebsd:~ #"
self.console_ssh_init(prompt, "root", self._config["root_pass"])
self.console_sshd_config(prompt)
+ self.console_wait_send(prompt, "service sshd reload\n")
# setup virtio-blk #1 (tarfile)
self.console_wait(prompt)