Skip to content

chore: Update vmsanbox role #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 0 additions & 94 deletions roles/vm-sandboxing/README.md

This file was deleted.

41 changes: 0 additions & 41 deletions roles/vm-sandboxing/defaults/main.yml

This file was deleted.

5 changes: 0 additions & 5 deletions roles/vm-sandboxing/handlers/main.yml

This file was deleted.

21 changes: 0 additions & 21 deletions roles/vm-sandboxing/meta/main.yml

This file was deleted.

90 changes: 0 additions & 90 deletions roles/vm-sandboxing/tasks/01-bootstrap-vm.yml

This file was deleted.

2 changes: 0 additions & 2 deletions roles/vm-sandboxing/tasks/main.yml

This file was deleted.

1 change: 0 additions & 1 deletion roles/vm-sandboxing/vars/main.yml

This file was deleted.

93 changes: 1 addition & 92 deletions roles/vmsandboxing/README.md
Original file line number Diff line number Diff line change
@@ -1,94 +1,3 @@
# fluencelabs.provider.vm_sandboxing
# fluencelabs.provider.vmsandboxing

Installs pre-requisites and bootstraps a VM for workload sandboxing purposes.

## Usage

See this [example](https://github.com/fluencelabs/ansible/blob/main/example/)

## Role Variables

See
[defaults/](https://github.com/fluencelabs/ansible/blob/main/roles/vm_sandboxing/defaults)
for details and examples.

#### `vm_remote_host`

- Host target to sent meta information on VM startup.
- type: string
- default:
```yml
vm_libvirt_user: info-catcher.fluence.dev
```

#### `vm_name`

- libvirt domain name
- type: string
- default:
```yml
vm_name: sandbox
```

#### `vm_image_url`

- QEMU image image URL to download
- type: string

#### `vm_image_local_path`

- The image path to use bootstraping the VM
- type: string

#### `vm_libvirt_user`

- default debian-based distros user for libvirt
- type: string
- default:
```yml
vm_libvirt_user: libvirt-qemu
```

#### `vm_libvirt_group`

- default debian-based distros group for libvirt
- type: string
- default:
```yml
vm_libvirt_group: kvm
```

#### `vm_bridge_name`

- default bridge interface name
- type: string
- default:
```yml
vm_bridge_name: br422442
```

#### `vm_physical_iface`

- Physical interface to put into the VM bridge (Must be set!)
- type: string

#### `vm_mac`

- generated MAC address for the VM
- type: string
- default: autogenerated

#### `vm_uuid`

- generated UUID address for the VM
- type: string
- default: autogenerated

#### `vm_ram`

- generated UUID address for the VM
- type: number
- default:
```yml
vm_ram: 1048576
```
Loading
Loading