|
@ -15,21 +15,18 @@ This is a quickstart guide of howto use this *Lab* |
|
|
|
|
|
|
|
|
### Default Configuration |
|
|
### Default Configuration |
|
|
|
|
|
|
|
|
- Working Directory |
|
|
#### Working Directory |
|
|
|
|
|
|
|
|
> /home/ubuntu |
|
|
> /home/ubuntu |
|
|
|
|
|
|
|
|
- Default user |
|
|
#### Default user |
|
|
|
|
|
|
|
|
> ubuntu |
|
|
> ubuntu |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Publish Your Work |
|
|
#### Publish Your Work |
|
|
|
|
|
|
|
|
--- |
|
|
--- |
|
|
**INFO** |
|
|
|
|
|
|
|
|
|
|
|
Usage: |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
|
|
|
|
|
@ -43,13 +40,15 @@ Usage: |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- The host file that contains addresses of connected workers can be created with: |
|
|
#### Find lab workers |
|
|
|
|
|
|
|
|
|
|
|
The host file that contains addresses of connected workers can be created with: |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
> swarmlab-getworkers > /home/ubuntu/invhosts |
|
|
> swarmlab-getworkers > /home/ubuntu/invhosts |
|
|
> |
|
|
> |
|
|
|
|
|
|
|
|
- connect to workers |
|
|
#### connect to workers |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
ssh ubuntu@[IP] |
|
|
ssh ubuntu@[IP] |
|
@ -57,7 +56,7 @@ Usage: |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- connect to workers with ansible |
|
|
#### connect to workers with ansible |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
cd /home/ubuntu/project/examples-os2/ansible |
|
|
cd /home/ubuntu/project/examples-os2/ansible |
|
|