Skip to content

AOS-CX: Update base image and cpu #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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