Skip to content

Commit

Permalink
AOS-CX: Update base image and cpu (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssasso authored Jan 12, 2025
1 parent d33af1a commit 9e68d58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions aoscx/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bullseye
FROM public.ecr.aws/docker/library/debian:bookworm-slim
MAINTAINER Stefano Sasso <stesasso@gmail.com>

ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -17,8 +17,8 @@ RUN apt-get update -qy \
iptables \
telnet \
ftp \
qemu-system-x86=1:5.2+dfsg-11+deb11u2 \
qemu-utils=1:5.2+dfsg-11+deb11u2 \
qemu-system-x86 \
qemu-utils \
&& rm -rf /var/lib/apt/lists/*

ARG IMAGE
Expand Down
2 changes: 1 addition & 1 deletion aoscx/docker/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, hostname, username, password, conn_mode):
logging.getLogger().info("Disk image was not found")
exit(1)
super(AOSCX_vm, self).__init__(
username, password, disk_image=disk_image, ram=8192, cpu="host,level=9", smp="4"
username, password, disk_image=disk_image, ram=8192, cpu="host", smp="4"
)
self.hostname = hostname
self.conn_mode = conn_mode
Expand Down

0 comments on commit 9e68d58

Please sign in to comment.