start_vm: Add Ubuntu Noble support

Message ID 20250410112908.48636-1-amikan@ilbers.de
State Accepted, archived
Headers show
Series start_vm: Add Ubuntu Noble support | expand

Commit Message

Anton Mikanovich April 10, 2025, 11:29 a.m. UTC
To be able to run start_vm tests on it.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/start_vm.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Uladzimir Bely April 15, 2025, 5:57 p.m. UTC | #1
On Thu, 2025-04-10 at 14:29 +0300, Anton Mikanovich wrote:
> To be able to run start_vm tests on it.
> 
> Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
> ---
>  testsuite/start_vm.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/testsuite/start_vm.py b/testsuite/start_vm.py
> index d3621ec3..57d169df 100755
> --- a/testsuite/start_vm.py
> +++ b/testsuite/start_vm.py
> @@ -48,7 +48,7 @@ def format_qemu_cmdline(
>      extra_args = ''
>  
>      image_type = image_fstypes.split()[0]
> -    base = 'ubuntu' if distro in ['jammy', 'focal'] else 'debian'
> +    base = 'ubuntu' if distro in ['jammy', 'focal', 'noble'] else
> 'debian'
>  
>      rootfs_image = f"{image}-{base}-{distro}-
> qemu{arch}.{image_type}"
>  
> @@ -156,6 +156,7 @@ def parse_args():
>          'trixie',
>          'focal',
>          'jammy',
> +        'noble',
>      ]
>      parser.add_argument(
>          '-a',
> -- 
> 2.34.1

Applied to next.

Patch

diff --git a/testsuite/start_vm.py b/testsuite/start_vm.py
index d3621ec3..57d169df 100755
--- a/testsuite/start_vm.py
+++ b/testsuite/start_vm.py
@@ -48,7 +48,7 @@  def format_qemu_cmdline(
     extra_args = ''
 
     image_type = image_fstypes.split()[0]
-    base = 'ubuntu' if distro in ['jammy', 'focal'] else 'debian'
+    base = 'ubuntu' if distro in ['jammy', 'focal', 'noble'] else 'debian'
 
     rootfs_image = f"{image}-{base}-{distro}-qemu{arch}.{image_type}"
 
@@ -156,6 +156,7 @@  def parse_args():
         'trixie',
         'focal',
         'jammy',
+        'noble',
     ]
     parser.add_argument(
         '-a',