Skip to content

Commit

Permalink
Reduce memory of sonic VM to 2Gi.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Apr 18, 2024
1 parent 141e28d commit f044f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/sonic/sonic_entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def main():
logger = logging.getLogger()

name = os.getenv('CLAB_LABEL_CLAB_NODE_NAME', default='switch')
memory = os.getenv('VM_MEMORY', default='4096')
memory = os.getenv('VM_MEMORY', default='2048')
interfaces = int(os.getenv('CLAB_INTFS', 0)) + 1

vm = Qemu(name, memory, interfaces)
Expand Down

0 comments on commit f044f7f

Please sign in to comment.