#!/bin/bash

## Clone repository

git clone https://github.com/onosproject/sdran-in-a-box ~/sdran-in-a-box

## Change make and config files

cd ~/sdran-in-a-box

sudo wget -O ~/sdran-in-a-box/MakefileVar.mk https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/sd-ran/sdran-install-scripts/MakefileVar.mk?inline=false

sudo wget -O ~/sdran-in-a-box/sdran-in-a-box-values.yaml https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/sd-ran/sdran-install-scripts/sdran-in-a-box-values.yaml?inline=false

## Make

sudo apt install build-essential
make oai-ue-usrp


