diff --git a/pkgs/run-liminix-vm/run-liminix-vm.fnl b/pkgs/run-liminix-vm/run-liminix-vm.fnl index c5a1af4..af23ed4 100644 --- a/pkgs/run-liminix-vm/run-liminix-vm.fnl +++ b/pkgs/run-liminix-vm/run-liminix-vm.fnl @@ -113,11 +113,14 @@ (local exec-args (-> [] (appendm (. bin options.arch)) - (appendm ["-m" "272" - "-echr" "16" - "-device" - (.. "loader,file=" options.rootfs ",addr=" options.phram-address) - ]) + (appendm ["-echr" "16"]) + (appendm (if options.phram-address + [ + "-m" "272" + "-device" + (.. "loader,file=" options.rootfs ",addr=" options.phram-address) + ] + ["-m" "256"])) (appendm (if options.background (background options.background)