2021-12-22 21:58:45 +00:00
|
|
|
# Infra Model Notes
|
|
|
|
|
|
|
|
|
|
|
|
First we need to add the infra mode
|
|
|
|
|
|
|
|
```
|
|
|
|
juju add-model infra
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Then we need to add the machines manually, as they would be installed by MAAS directly
|
|
|
|
|
|
|
|
```bash
|
|
|
|
for i in asrock01 asrock02 asrock03
|
|
|
|
do
|
|
|
|
juju add-machine -m infra ssh:$i
|
|
|
|
done
|
2021-12-25 19:03:49 +00:00
|
|
|
```
|
2021-12-22 21:58:45 +00:00
|
|
|
|
|
|
|
Once the machines have been added, we can deploy the infra model
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd config
|
|
|
|
./juju_deploy_infra.sh
|
|
|
|
```
|