add arguments to vbox-resize-disk1 script

This commit is contained in:
Lev Dubinets
2019-07-02 17:46:56 -07:00
parent 16fa9254f3
commit 1304230777
3 changed files with 85 additions and 27 deletions

View File

@@ -116,11 +116,12 @@ You can also build Nix from source by following the instructions at https://nixo
This will now create a nix-bitcoin node on the target machine.
6. Resize the virtualbox disk
```
./scripts/vbox-resize-disk1.sh
```
./contrib/vbox-resize-disk1.sh
```
NixOps provides a virtualbox disk thats 50gb in size, but we need more than that to house the Bitcoin blockchain. Make sure to run this from within your nix-shell.
NixOps provides a virtualbox disk thats 50gb in size, but we need more than that to house the Bitcoin blockchain. By default, his script will resize the disk to 300gb. Run it with `-h` to see options. Make sure to run this from within your nix-shell.
7. Nixops automatically creates an ssh key for use with `nixops ssh`. Access `bitcoin-node` through ssh in nix-shell with