Skip to content

Commit 85a7d94

Browse files
authored
Merge pull request #12 from threefoldtech/update-quickstart-docs
update quickstart docs
2 parents c146220 + 9911a9f commit 85a7d94

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

docs/development/quickstart.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,33 @@
88

99
## Starting a local zos node
1010

11-
* Make sure `qemu` and `dnsmasq` are installed
12-
* [Create a farm](https://manual.grid.tf/farmers/3node_building/1_create_farm.html)
13-
* [Download a zos image](https://bootstrap.grid.tf/kernel/zero-os-development-zos-v3-generic-7e587e499a.efi)
11+
* Make sure `qemu` is installed
12+
* [Create a farm](https://manual.grid.tf/documentation/farmers/3node_building/1_create_farm.html#create-a-farm)
13+
* [Download a zos image](https://bootstrap.grid.tf/kernel/zero-os-development-zos-v3-generic-7e587e499a.efi) (Optional)
1414
* Make sure `zos0` bridge is allowed by qemu, you can add `allow zos0` in `/etc/qemu/bridge.conf` (create the file if it's not there)
15-
* Setup the network using this script [this script](../../qemu/net.sh)
15+
* Setup the network using this script [this script](../../qemu/net.sh) Or you can `cd qemu` then run `make net`
1616

1717
Then, inside zos repository
1818

1919
```
2020
make -C cmds
2121
cd qemu
22+
```
23+
If you downloaded your zos image move it here
24+
```
2225
mv <downloaded image path> ./zos.efi
23-
sudo ./vm.sh -n node-01 -c "farmer_id=<your farm id here> printk.devmsg=on runmode=dev"
26+
```
27+
Or you can run this commands
28+
```
29+
make prepare
30+
mv dev.efi zos.efi
31+
```
32+
33+
```
34+
make run id=<your_farm_id> user=<your_github_username>
2435
```
2536

26-
You should see the qemu console and boot logs, wait for awhile and you can [browse farms](https://dashboard.dev.grid.tf/explorer/farms) to see your node is added/detected automatically.
37+
You should see the qemu console and boot logs, wait for awhile and you can [browse your farms](https://dashboard.dev.grid.tf/#/farms/your-farms/) to see your node is added/detected automatically.
2738

2839
To stop the machine you can do `Control + a` then `x`.
2940

0 commit comments

Comments
 (0)