Skip to content

Commit

Permalink
upping worker and running bootc install
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <[email protected]>
  • Loading branch information
Gregory-Pereira committed May 1, 2024
1 parent 8ea285a commit 5cd1c17
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bootc_testing_framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
matrix:
include:
- arch: amd64
aws_image_type: t2.micro
aws_image_type: g5.8xlarge
image_name: nvidia-bootc
aws_ami_architecture: x86_64
steps:
Expand Down
17 changes: 17 additions & 0 deletions training/provision/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,20 @@
ansible.builtin.package:
name: podman
state: present

- name: Run container
ansible.podman.podman_container:
name: "{{ image_name }}"
image: "quay.io/ai-lab/{{ image_name }}:latest"
state: started
auto_remove: yes
cap_add:
- sys_admin
security_opt:
- "label=type:unconfined_t"
volumes:
- "/:/target"
- "/var/lib/containers:/var/lib/containers"
privileged: yes
pid_mode: host
command: "bootc install to-filesystem --karg=console=ttyS0,115200n8 --replace=alongside /target"

0 comments on commit 5cd1c17

Please sign in to comment.