Skip to content

Commit

Permalink
sgx: fix ansible script
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Oct 24, 2024
1 parent f12c1f7 commit 27bcbda
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions ansible/tasks/sgx_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@
- name: "Set WASM VM env. variable to SGX"
shell: "echo 'export PATH=$PATH:/home/{{ ansible_user }}/.local/bin' >> /home/{{ ansible_user }}/.bashrc"

- name: "Upgrade to 6.x kernel for EDMM features"
- name: "Update apt cache"
become: yes
apt:
update_cache: yes

- name: "Install linux recommends"
become: yes
tasks:
- name: "Update apt cache"
apt:
update_cache: yes
shell: "apt install --install-recommends -y linux-generic"

- name: "Install the specific kernel version"
apt:
name: linux-image-unsigned-6.5.0-1011-azure
state: present
- name: "Upgrade to 6.x kernel for EDMM features"
become: yes
apt:
name: linux-image-6.5.0-1025-azure
environment:
DEBIAN_FRONTEND: noninteractive

- name: "Reboot to pick-up latest kernel"
reboot:
Expand Down

0 comments on commit 27bcbda

Please sign in to comment.