qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests/vm/openbsd: Move timezone set to after disk setup
@ 2021-10-13 16:31 Richard Henderson
  2021-10-16 22:24 ` Brad Smith
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2021-10-13 16:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: brad

Currently the install gets stuck waiting for the timezone
when the installer is waiting on the disk.  Swap the two.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 tests/vm/openbsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index c4c78a80f1..cbb4006ef7 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -119,7 +119,6 @@ class OpenBSDVM(basevm.BaseVM):
         self.console_send("%s\n" % self._config["guest_pass"])
 
         self.console_wait_send("Allow root ssh login",    "yes\n")
-        self.console_wait_send("timezone",                "UTC\n")
         self.console_wait_send("root disk",               "\n")
         self.console_wait_send("(W)hole disk",            "\n")
         self.console_wait_send("(A)uto layout",           "\n")
@@ -130,6 +129,7 @@ class OpenBSDVM(basevm.BaseVM):
 
         self.print_step("Installation started now, this will take a while")
         self.console_wait_send("Location of sets",        "done\n")
+        self.console_wait_send("timezone",                "UTC\n")
 
         self.console_wait("successfully completed")
         self.print_step("Installation finished, rebooting")
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tests/vm/openbsd: Move timezone set to after disk setup
  2021-10-13 16:31 [PATCH] tests/vm/openbsd: Move timezone set to after disk setup Richard Henderson
@ 2021-10-16 22:24 ` Brad Smith
  0 siblings, 0 replies; 2+ messages in thread
From: Brad Smith @ 2021-10-16 22:24 UTC (permalink / raw)
  To: Richard Henderson, qemu-devel

Yes, this is the correct order. The timezone question comes after the 
install sets are extracted.

Signed-off-by: Brad Smith <brad@comstyle.com>

On 10/13/2021 12:31 PM, Richard Henderson wrote:
> Currently the install gets stuck waiting for the timezone
> when the installer is waiting on the disk.  Swap the two.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   tests/vm/openbsd | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/vm/openbsd b/tests/vm/openbsd
> index c4c78a80f1..cbb4006ef7 100755
> --- a/tests/vm/openbsd
> +++ b/tests/vm/openbsd
> @@ -119,7 +119,6 @@ class OpenBSDVM(basevm.BaseVM):
>           self.console_send("%s\n" % self._config["guest_pass"])
>   
>           self.console_wait_send("Allow root ssh login",    "yes\n")
> -        self.console_wait_send("timezone",                "UTC\n")
>           self.console_wait_send("root disk",               "\n")
>           self.console_wait_send("(W)hole disk",            "\n")
>           self.console_wait_send("(A)uto layout",           "\n")
> @@ -130,6 +129,7 @@ class OpenBSDVM(basevm.BaseVM):
>   
>           self.print_step("Installation started now, this will take a while")
>           self.console_wait_send("Location of sets",        "done\n")
> +        self.console_wait_send("timezone",                "UTC\n")
>   
>           self.console_wait("successfully completed")
>           self.print_step("Installation finished, rebooting")


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-16 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 16:31 [PATCH] tests/vm/openbsd: Move timezone set to after disk setup Richard Henderson
2021-10-16 22:24 ` Brad Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).