Skip to content
Snippets Groups Projects
README.md 1.17 KiB
Newer Older
## Setting up Participant VMs

First, check the common-vars for the following:

```
aticig's avatar
aticig committed
APT_PROXY=http://172.21.1.1.3142
FLAVOR=test_flavor_fix
KEY_NAME=hackfest
NETWORK=osm-ext
FOCAL=ubuntu20.04
```

APT_PROXY: the address of a caching web proxy for installing packages
FLAVOR: the flavour of the new VM to launch.  Must have at least 4 CPUs, 8 GB RAM and 60 GB Disk.
aticig's avatar
aticig committed
KEY_NAME: Key to connect VMs
NETWORK: IP addresses will be allocated from this network, this network is management network of OSM instance
FOCAL: Image to install VMs
aticig's avatar
aticig committed
### Create VMs
This script creates the VMs in required project
aticig's avatar
aticig committed
./run-create-openstack-vm.sh
aticig's avatar
aticig committed
### Initial Configuration
This script updates apt, upgrades the system to the latest 20.04 and installs remote desktop software

aticig's avatar
aticig committed
./run-vm-initial-setup.sh
```


### Install OSM

This script downloads the installer and runs it.  It also sets the OSM admin password to `hackfest`.
```
./run-install-osm.sh
```

### Add VIM and K8s Cluster
aticig's avatar
aticig committed
Add VIM and ks8cluster to OSM instance
```
./run-osm-vim-k8scluster-add.sh
```

## Full Flow

```
aticig's avatar
aticig committed
./run-create-openstack-user-and-project.sh
./run-vm-initial-setup.sh
./run-install-osm.sh
./run-osm-vim-k8scluster-add.sh