Skip to content

Commit 9e68d58

Browse files
authored
AOS-CX: Update base image and cpu (#305)
1 parent d33af1a commit 9e68d58

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

aoscx/docker/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye
1+
FROM public.ecr.aws/docker/library/debian:bookworm-slim
22
MAINTAINER Stefano Sasso <stesasso@gmail.com>
33

44
ENV DEBIAN_FRONTEND=noninteractive
@@ -17,8 +17,8 @@ RUN apt-get update -qy \
1717
iptables \
1818
telnet \
1919
ftp \
20-
qemu-system-x86=1:5.2+dfsg-11+deb11u2 \
21-
qemu-utils=1:5.2+dfsg-11+deb11u2 \
20+
qemu-system-x86 \
21+
qemu-utils \
2222
&& rm -rf /var/lib/apt/lists/*
2323

2424
ARG IMAGE

aoscx/docker/launch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, hostname, username, password, conn_mode):
4747
logging.getLogger().info("Disk image was not found")
4848
exit(1)
4949
super(AOSCX_vm, self).__init__(
50-
username, password, disk_image=disk_image, ram=8192, cpu="host,level=9", smp="4"
50+
username, password, disk_image=disk_image, ram=8192, cpu="host", smp="4"
5151
)
5252
self.hostname = hostname
5353
self.conn_mode = conn_mode

0 commit comments

Comments
 (0)