n25/pages/run-slide.md

2.2 KiB

level
2

Getting Started

... with Vagrant


```bash
cd ~/projects
git clone https://codeberg.org/headshed/infctl-cli.git
```

```bash
cd infctl-cli/vagrant/dev/ubuntu
pwd
/home/user/projects/infctl-cli/vagrant/dev/ubuntu
```

```bash
vagrant up
Bringing machine 'vm1' up with 'virtualbox' provider...
Bringing machine 'vm2' up with 'virtualbox' provider...
Bringing machine 'vm3' up with 'virtualbox' provider...
Bringing machine 'workstation' up with 'virtualbox' provider...
==> vm1: Checking if box 'ubuntu/jammy64' version '20241002.0.0' is up to date...
==> vm1: Clearing any previously set network interfaces...
==> vm1: Available bridged network interfaces:
1) wlp0s20f3
2) docker0
3) br-9ebcfa7b8ec0
4) br-b036d14629a8
5) veth9ae7cf3
==> vm1: When choosing an interface, it is usually the one that is
==> vm1: being used to connect to the internet.
==> vm1: 
    vm1: Which interface should the network bridge to? 
```



```bash 
cd ../../..
export LOG_FORMAT=none 
export VAGRANT_BRIDGE=wlp0s20f3

infctl -f pipelines/dev/vagrant-k3s.json
🔄 Running step: Create Vagrant nodes
🐞 Running command: ./scripts/install_vagrant_nodes.sh

```



Lets see what this looks like for real in a Demo

Lets try again