Skip to content

Commit

Permalink
feat: nox vm support (#40)
Browse files Browse the repository at this point in the history
* initial commit for nox vm support

* updated deployments to support libvirtd

* updated deployments to support libvirtd

* updated deployments to support libvirtd

* updated deployments to support libvirtd
  • Loading branch information
enjenjenje authored Aug 30, 2024
1 parent 6c63900 commit 57782a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/nox/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ nox_unit_file: |
Environment="FLUENCE_ROOT_KEY_PAIR__PATH={{ nox_dir }}/state/root_secret_key.ed25519"
ExecStart={{ nox_dir }}/nox
Restart=on-failure
User={{ nox_user }}
User=root
Group={{ nox_group }}
[Install]
WantedBy=multi-user.target
9 changes: 9 additions & 0 deletions roles/prerequisites/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
loop:
- libhwloc-dev
- curl
- qemu-kvm
- libvirt-daemon-system
loop_control:
loop_var: package
label: "{{ package }}"

- name: enable libvirtd
ansible.builtin.systemd:
name: libvirtd
state: started
enabled: true
daemon_reload: true

0 comments on commit 57782a7

Please sign in to comment.