summaryrefslogtreecommitdiff
path: root/vagrant/VAGRANT.md
blob: 69a28f5058bb741a8a21aaa9ae609ff9ea8c8cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Vagrant only for development and tests

Vagrant is a tool for building and managing virtual machine environments
in pyvyos we use vagrant to deploy vyos virtual machines
for development and automated tests

If you want to only use pyvyos you dont need to install vagrant

# Vagrant install instructions

1. Install Vagrant
2. Install VirtualBox
3. Install Vagrant plugins
```
vagrant plugin install vagrant-vyos
vagrant plugin install vagrant-dotenv

```
4. Install mkisofs
```
sudo apt install genisoimage
```

5. Run vagrant up
```
vagrant up
```
6. Run vagrant ssh
```
vagrant ssh
```

# For Windows with wsl2:
```
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
export PATH="$PATH:/mnt/c/Program Files/Oracle/VirtualBox"
```