From 7d3566403af0c70de5a6a389c4964779c2eda9ce Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 2 May 2026 20:27:32 +0200 Subject: Testsuite: T8147: must run as root to start QEMU VMs --- scripts/check-qemu-install | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 0cbb3674..b0a93dc5 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -142,6 +142,9 @@ parser.add_argument('--isolate-cpus', help='CPU cores to isolate (e.g., 1,3-4', args = parser.parse_args() +if os.geteuid() != 0: + exit('You need to have root privileges to run this script.') + if args.cloud_init: hostname = CI_CONFIG_ARGS['hostname'] op_mode_prompt = rf'vyos@{hostname}:~\$' -- cgit v1.2.3