README.org: Add section "Running Operating System in VM for testing"
This commit is contained in:
parent
a0b95e3c9a
commit
1bf10a324c
|
@ -146,10 +146,16 @@ Many times its useful to verify that a change to a system configuration will bui
|
|||
prior to deploying it. ~guix system build~ is meant for exactly this, and can be run as
|
||||
follows.
|
||||
|
||||
#+begin_src bash
|
||||
#+begin_src shell
|
||||
guix time-machine -C channels.scm -- system build -L .guix -e '(@ (rekahsoft guix-config <vms|manual> <target>) %system)'
|
||||
#+end_src
|
||||
|
||||
** Running Operating System in VM for testing
|
||||
|
||||
#+begin_src shell
|
||||
$(guix time-machine -C channels.scm -- system vm -e '(@ (rekahsoft guix-config <vms|manual> <target>) %system)') -m 2G -smp 2 -nic user,model=virtio-net-pci
|
||||
#+end_src
|
||||
|
||||
** Push Based Deployments
|
||||
|
||||
#+begin_src shell
|
||||
|
|
Loading…
Reference in New Issue