run-liminix-vm: don't reverse order of --flags params

This commit is contained in:
Daniel Barlow 2023-12-26 21:59:00 +00:00
parent f020d5b25d
commit 6469408d5f

View file

@ -45,7 +45,7 @@
["--wan" spec & rest] (assoc (parse-args rest) :wan spec)
["--command-line" cmd & rest] (assoc (parse-args rest) :command-line cmd)
["--flag" flag & rest] (let [o (parse-args rest)]
(assoc o :flags (doto o.flags (table.insert flag))))
(assoc o :flags (doto o.flags (table.insert 1 flag))))
[kernel rootfsimg]
{ :flags [] :kernel kernel :rootfs (pad-file rootfsimg (* 16 1024)) }
))