-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfedora.yml
More file actions
35 lines (29 loc) · 869 Bytes
/
fedora.yml
File metadata and controls
35 lines (29 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
images:
- location: "https://dl.fedoraproject.org/pub/fedora/linux/releases/43/Cloud/aarch64/images/Fedora-Cloud-Base-Generic-43-1.6.aarch64.qcow2"
arch: "aarch64"
- location: "https://dl.fedoraproject.org/pub/fedora/linux/releases/43/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-43-1.6.x86_64.qcow2"
arch: "x86_64"
vmType: "vz"
# Enable Rosetta for Linux.
# Hint: try `softwareupdate --install-rosetta` if Lima gets stuck at `Installing rosetta...`
# Register rosetta to /proc/sys/fs/binfmt_misc
rosetta:
enabled: true
binfmt: true
user:
name: "fedora"
memory: "2GiB"
cpus: 4
disk: "35GiB"
provision:
- mode: system
script: |
#!/bin/bash
set -eux -o pipefail
dnf update -y
dnf install -y curl sudo bash git
- mode: user
script: |
#!/bin/bash
set -eux -o pipefail
echo "nothing to do here"