|
|
@ -15,21 +15,18 @@ This is a quickstart guide of howto use this *Lab* |
|
|
|
|
|
|
|
### Default Configuration |
|
|
|
|
|
|
|
- Working Directory |
|
|
|
#### Working Directory |
|
|
|
|
|
|
|
> /home/ubuntu |
|
|
|
|
|
|
|
- Default user |
|
|
|
#### Default user |
|
|
|
|
|
|
|
> ubuntu |
|
|
|
|
|
|
|
|
|
|
|
- Publish Your Work |
|
|
|
#### Publish Your Work |
|
|
|
|
|
|
|
--- |
|
|
|
**INFO** |
|
|
|
|
|
|
|
Usage: |
|
|
|
|
|
|
|
```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 |
|
|
|
> |
|
|
|
|
|
|
|
- connect to workers |
|
|
|
#### connect to workers |
|
|
|
|
|
|
|
```bash |
|
|
|
ssh ubuntu@[IP] |
|
|
@ -57,7 +56,7 @@ Usage: |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
- connect to workers with ansible |
|
|
|
#### connect to workers with ansible |
|
|
|
|
|
|
|
```bash |
|
|
|
cd /home/ubuntu/project/examples-os2/ansible |
|
|
|