Compare commits
2 Commits
7702d4914d
...
455e54f81b
| Author | SHA1 | Date | |
|---|---|---|---|
| 455e54f81b | |||
| 31e48ff3fc |
@@ -4,7 +4,7 @@ Username: `debian`
|
|||||||
Password: `nixos`
|
Password: `nixos`
|
||||||
|
|
||||||
0. Clean the VM:
|
0. Clean the VM:
|
||||||
`nh os clean all`
|
`nh clean all`
|
||||||
`rm ~/.local/share/debian-vm/debian-persistent.qcow2`
|
`rm ~/.local/share/debian-vm/debian-persistent.qcow2`
|
||||||
|
|
||||||
1. Build the VM:
|
1. Build the VM:
|
||||||
|
|||||||
3
vm.nix
3
vm.nix
@@ -27,7 +27,8 @@ let
|
|||||||
${pkgs.qemu}/bin/qemu-img create -f qcow2 \
|
${pkgs.qemu}/bin/qemu-img create -f qcow2 \
|
||||||
-b "${debianImage}" \
|
-b "${debianImage}" \
|
||||||
-F qcow2 \
|
-F qcow2 \
|
||||||
"${vmDataDir}/debian-persistent.qcow2"
|
"${vmDataDir}/debian-persistent.qcow2" \
|
||||||
|
20G
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create cloud-init configuration
|
# Create cloud-init configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user