-
Notifications
You must be signed in to change notification settings - Fork 581
/
default.TEMPLATE.yaml
74 lines (64 loc) · 2.22 KB
/
default.TEMPLATE.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Arch: "default", "x86_64", "aarch64".
# "default" corresponds to the host architecture.
arch: "default"
# An image must support systemd and cloud-init.
# Ubuntu and Fedora are known to work.
# Default: none (must be specified)
images:
# Try to use a local image first.
- location: "~/Downloads/hirsute-server-cloudimg-amd64.img"
arch: "x86_64"
- location: "~/Downloads/hirsute-server-cloudimg-arm64.img"
arch: "aarch64"
# Download the file from the internet when the local file is missing.
- location: "https://cloud-images.ubuntu.com/hirsute/current/hirsute-server-cloudimg-amd64.img"
arch: "x86_64"
- location: "https://cloud-images.ubuntu.com/hirsute/current/hirsute-server-cloudimg-arm64.img"
arch: "aarch64"
# CPUs: if you see performance issues, try limiting cpus to 1.
# Default: 4
cpus: 4
# Memory size
# Default: "4GiB"
memory: "4GiB"
# Disk size
# Default: "100GiB"
disk: "100GiB"
# Expose host directories to the guest
# Default: none
mounts:
- location: "~"
# CAUTION: `writable` SHOULD be false for the home directory.
# Setting `writable` to true is possible, but untested and dangerous.
writable: false
- location: "/tmp/lima"
writable: true
ssh:
# A localhost port of the host. Forwarded to port 22 of the guest.
# Currently, this port number has to be specified manually.
# Default: none
localPort: 60022
firmware:
# Use legacy BIOS instead of UEFI.
# Default: false
legacyBIOS: false
video:
# QEMU display, e.g., "none", "cocoa", "sdl".
# As of QEMU v5.2, enabling this is known to have negative impact
# on performance on macOS hosts: https://gitlab.com/qemu-project/qemu/-/issues/334
# Default: "none"
display: "none"
#UNIMPLEMENTED| provision:
#UNIMPLEMENTED| # `system` is executed with the root privilege
#UNIMPLEMENTED| system: |
#UNIMPLEMENTED| #!/bin/bash
#UNIMPLEMENTED| set -eux -o pipefail
#UNIMPLEMENTED| export DEBIAN_FRONTEND=noninteractive
#UNIMPLEMENTED| apt-get install -y vim
#UNIMPLEMENTED| # `user` is executed without the root privilege
#UNIMPLEMENTED| user: |
#UNIMPLEMENTED| #!/bin/bash
#UNIMPLEMENTED| set -eux -o pipefail
#UNIMPLEMENTED| cat <<EOF > ~/.vimrc
#UNIMPLEMENTED| set number
#UNIMPLEMENTED| EOF