Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit 836ced0

Browse files
use .love box for vagrantfile
1 parent 4df41dc commit 836ced0

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Vagrantfile

+7-5
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ Vagrant.configure("2") do |config|
1212

1313
# Every Vagrant development environment requires a box. You can search for
1414
# boxes at https://vagrantcloud.com/search.
15+
#
16+
# the holochain-vagrant box is generated by running:
17+
# nix-shell --run hc-test
18+
# from inside the /vagrant dir, which prewarms nix, rust and npm
1519
config.vm.box = "holochain-vagrant"
16-
# config.vm.box_url = "https://holochain.love/box"
17-
config.vm.box = "nixos/nixos-18.03-x86_64"
20+
config.vm.box_url = "https://holochain.love/box"
21+
# uncomment this to use the raw nixos base box instead of the holochain box
22+
# config.vm.box = "nixos/nixos-18.03-x86_64"
1823

1924
# Disable automatic box update checking. If you disable this, then
2025
# boxes will only be checked for updates when the user runs
@@ -47,9 +52,6 @@ Vagrant.configure("2") do |config|
4752
# argument is a set of non-required options.
4853
# config.vm.synced_folder "../data", "/vagrant_data"
4954

50-
# https://github.com/rust-lang/cargo/issues/2808
51-
# config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "node_modules", "target", ".cargo", "Cargo.lock"], rsync__verbose: true
52-
5355
# Provider-specific configuration so you can fine-tune various
5456
# backing providers for Vagrant. These expose provider-specific options.
5557
# Example for VirtualBox:

cli/src/cli/ops-scaffold/Vagrantfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ Vagrant.configure("2") do |config|
1212

1313
# Every Vagrant development environment requires a box. You can search for
1414
# boxes at https://vagrantcloud.com/search.
15+
#
16+
# the holochain-vagrant box is generated by running:
17+
# nix-shell --run hc-test
18+
# from inside the /vagrant dir, which prewarms nix, rust and npm
1519
config.vm.box = "holochain-vagrant"
1620
config.vm.box_url = "https://holochain.love/box"
21+
# uncomment this to use the raw nixos base box instead of the holochain box
1722
# config.vm.box = "nixos/nixos-18.03-x86_64"
1823

1924
# Disable automatic box update checking. If you disable this, then
@@ -47,9 +52,6 @@ Vagrant.configure("2") do |config|
4752
# argument is a set of non-required options.
4853
# config.vm.synced_folder "../data", "/vagrant_data"
4954

50-
# https://github.com/rust-lang/cargo/issues/2808
51-
config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".git/", "node_modules", "target", ".cargo", "Cargo.lock"], rsync__verbose: true
52-
5355
# Provider-specific configuration so you can fine-tune various
5456
# backing providers for Vagrant. These expose provider-specific options.
5557
# Example for VirtualBox:

0 commit comments

Comments
 (0)