[PATCH] tests/vm/openbsd: Update to release 7.0

Richard Henderson posted 1 patch 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211018205313.3526915-1-richard.henderson@linaro.org
Maintainers: Willian Rampazzo <willianr@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Brad Smith <brad@comstyle.com>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>
tests/vm/openbsd | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
[PATCH] tests/vm/openbsd: Update to release 7.0
Posted by Richard Henderson 2 years, 6 months ago
There are two minor changes required in the script for the
network configuration of the newer release.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 tests/vm/openbsd | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index c4c78a80f1..337fe7c303 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -22,8 +22,8 @@ class OpenBSDVM(basevm.BaseVM):
     name = "openbsd"
     arch = "x86_64"
 
-    link = "https://cdn.openbsd.org/pub/OpenBSD/6.9/amd64/install69.iso"
-    csum = "140d26548aec680e34bb5f82295414228e7f61e4f5e7951af066014fda2d6e43"
+    link = "https://cdn.openbsd.org/pub/OpenBSD/7.0/amd64/install70.iso"
+    csum = "1882f9a23c9800e5dba3dbd2cf0126f552605c915433ef4c5bb672610a4ca3a4"
     size = "20G"
     pkgs = [
         # tools
@@ -95,10 +95,9 @@ class OpenBSDVM(basevm.BaseVM):
         self.console_wait_send("Terminal type",           "xterm\n")
         self.console_wait_send("System hostname",         "openbsd\n")
         self.console_wait_send("Which network interface", "vio0\n")
-        self.console_wait_send("IPv4 address",            "dhcp\n")
+        self.console_wait_send("IPv4 address",            "autoconf\n")
         self.console_wait_send("IPv6 address",            "none\n")
         self.console_wait_send("Which network interface", "done\n")
-        self.console_wait_send("DNS domain name",         "localnet\n")
         self.console_wait("Password for root account")
         self.console_send("%s\n" % self._config["root_pass"])
         self.console_wait("Password for root account")
-- 
2.25.1


Re: [PATCH] tests/vm/openbsd: Update to release 7.0
Posted by Thomas Huth 2 years, 6 months ago
On 18/10/2021 22.53, Richard Henderson wrote:
> There are two minor changes required in the script for the
> network configuration of the newer release.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   tests/vm/openbsd | 7 +++----
>   1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/vm/openbsd b/tests/vm/openbsd
> index c4c78a80f1..337fe7c303 100755
> --- a/tests/vm/openbsd
> +++ b/tests/vm/openbsd
> @@ -22,8 +22,8 @@ class OpenBSDVM(basevm.BaseVM):
>       name = "openbsd"
>       arch = "x86_64"
>   
> -    link = "https://cdn.openbsd.org/pub/OpenBSD/6.9/amd64/install69.iso"
> -    csum = "140d26548aec680e34bb5f82295414228e7f61e4f5e7951af066014fda2d6e43"
> +    link = "https://cdn.openbsd.org/pub/OpenBSD/7.0/amd64/install70.iso"
> +    csum = "1882f9a23c9800e5dba3dbd2cf0126f552605c915433ef4c5bb672610a4ca3a4"
>       size = "20G"
>       pkgs = [
>           # tools
> @@ -95,10 +95,9 @@ class OpenBSDVM(basevm.BaseVM):
>           self.console_wait_send("Terminal type",           "xterm\n")
>           self.console_wait_send("System hostname",         "openbsd\n")
>           self.console_wait_send("Which network interface", "vio0\n")
> -        self.console_wait_send("IPv4 address",            "dhcp\n")
> +        self.console_wait_send("IPv4 address",            "autoconf\n")
>           self.console_wait_send("IPv6 address",            "none\n")
>           self.console_wait_send("Which network interface", "done\n")
> -        self.console_wait_send("DNS domain name",         "localnet\n")
>           self.console_wait("Password for root account")
>           self.console_send("%s\n" % self._config["root_pass"])
>           self.console_wait("Password for root account")

Works for me!

Tested-by: Thomas Huth <thuth@redhat.com>