Created
July 30, 2025 08:18
-
-
Save afbjorklund/cfe40b9dfb5e1bcc18f924cba080f26a to your computer and use it in GitHub Desktop.
default.yaml converted to default.hjson
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
additionalDisks: null | |
arch: null | |
audio: | |
{ | |
device: null | |
} | |
caCerts: | |
{ | |
certs: null | |
files: null | |
removeDefaults: null | |
} | |
containerd: | |
{ | |
system: null | |
user: null | |
} | |
cpuType: null | |
cpus: null | |
disk: null | |
firmware: | |
{ | |
legacyBIOS: null | |
} | |
guestInstallPrefix: null | |
hostResolver: | |
{ | |
enabled: null | |
hosts: null | |
ipv6: null | |
} | |
images: | |
[ | |
{ | |
arch: x86_64 | |
digest: sha256:92ad8714338b1d3be605b7981137a7c356b23527ff1aba8e80cf44bc3aa2f8da | |
location: https://cloud-images.ubuntu.com/releases/plucky/release-20250701/ubuntu-25.04-server-cloudimg-amd64.img | |
} | |
{ | |
arch: aarch64 | |
digest: sha256:26d0ac2236f12954923eb35ddfee8fa9fff3eab6111ba84786b98ab3b972c6d8 | |
location: https://cloud-images.ubuntu.com/releases/plucky/release-20250701/ubuntu-25.04-server-cloudimg-arm64.img | |
} | |
{ | |
arch: riscv64 | |
digest: sha256:66f420cb992e3076207ce933b7f96550d27b05ead561b7a5e48d281d01b151de | |
location: https://cloud-images.ubuntu.com/releases/plucky/release-20250701/ubuntu-25.04-server-cloudimg-riscv64.img | |
} | |
{ | |
arch: armv7l | |
digest: sha256:f37d82f55df80bdb09bbeb403f84e6921b8e4435610fed22ffec436af2e4dd6d | |
location: https://cloud-images.ubuntu.com/releases/plucky/release-20250701/ubuntu-25.04-server-cloudimg-armhf.img | |
} | |
{ | |
arch: s390x | |
digest: sha256:1d03fedf3aea85438ce70d745edf611b80c6f88a049bb44167c24ae2ec9d4fda | |
location: https://cloud-images.ubuntu.com/releases/plucky/release-20250701/ubuntu-25.04-server-cloudimg-s390x.img | |
} | |
{ | |
arch: ppc64le | |
digest: sha256:5922f8ea7958f15af5a5d8a4efec38d66af31c0a853fba5fb0790ec25562b53a | |
location: https://cloud-images.ubuntu.com/releases/plucky/release-20250701/ubuntu-25.04-server-cloudimg-ppc64el.img | |
} | |
{ | |
arch: x86_64 | |
location: https://cloud-images.ubuntu.com/releases/plucky/release/ubuntu-25.04-server-cloudimg-amd64.img | |
} | |
{ | |
arch: aarch64 | |
location: https://cloud-images.ubuntu.com/releases/plucky/release/ubuntu-25.04-server-cloudimg-arm64.img | |
} | |
{ | |
arch: riscv64 | |
location: https://cloud-images.ubuntu.com/releases/plucky/release/ubuntu-25.04-server-cloudimg-riscv64.img | |
} | |
{ | |
arch: armv7l | |
location: https://cloud-images.ubuntu.com/releases/plucky/release/ubuntu-25.04-server-cloudimg-armhf.img | |
} | |
{ | |
arch: s390x | |
location: https://cloud-images.ubuntu.com/releases/plucky/release/ubuntu-25.04-server-cloudimg-s390x.img | |
} | |
{ | |
arch: ppc64le | |
location: https://cloud-images.ubuntu.com/releases/plucky/release/ubuntu-25.04-server-cloudimg-ppc64el.img | |
} | |
] | |
memory: null | |
minimumLimaVersion: 1.1.0 | |
mountInotify: null | |
mountType: null | |
mountTypesUnsupported: null | |
mounts: | |
[ | |
{ | |
location: ~ | |
} | |
{ | |
location: "{{.GlobalTempDir}}/lima" | |
mountPoint: /tmp/lima | |
writable: true | |
} | |
] | |
nestedVirtualization: null | |
networks: null | |
os: null | |
plain: null | |
propagateProxyEnv: null | |
rosetta: | |
{ | |
binfmt: null | |
enabled: null | |
} | |
ssh: | |
{ | |
forwardAgent: null | |
forwardX11: null | |
forwardX11Trusted: null | |
loadDotSSHPubKeys: null | |
localPort: null | |
} | |
timezone: null | |
upgradePackages: null | |
user: | |
{ | |
comment: null | |
home: null | |
name: null | |
shell: null | |
uid: null | |
} | |
video: | |
{ | |
display: null | |
vnc: | |
{ | |
display: null | |
} | |
} | |
vmOpts: | |
{ | |
qemu: | |
{ | |
minimumVersion: null | |
} | |
} | |
vmType: null | |
} |
YAML:
https://github.com/lima-vm/lima/blob/master/templates/default.yaml
JSON:
{"vmType":null,"arch":null,"images":[],"cpus":null,"memory":null,"disk":null,"mounts":[],"mountTypesUnsupported":null,"mountType":null,"mountInotify":null,"additionalDisks":null,"ssh":{"localPort":null,"loadDotSSHPubKeys":null,"forwardAgent":null,"forwardX11":null,"forwardX11Trusted":null},"caCerts":{"removeDefaults":null,"files":null,"certs":null},"upgradePackages":null,"containerd":{"system":null,"user":null},"minimumLimaVersion":"1.1.0","base":["template://_images/ubuntu","template://_default/mounts"],"user":{"name":null,"comment":null,"uid":null,"home":null,"shell":null},"vmOpts":{"qemu":{"minimumVersion":null,"cpuType":null}},"os":null,"cpuType":null,"rosetta":{"enabled":null,"binfmt":null},"timezone":null,"firmware":{"legacyBIOS":null},"audio":{"device":null},"video":{"display":null,"vnc":{"display":null}},"networks":null,"propagateProxyEnv":null,"hostResolver":{"enabled":null,"ipv6":null,"hosts":null},"guestInstallPrefix":null,"plain":null,"nestedVirtualization":null}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
limactl template copy --embed-all template://default default.yaml
yq -p yaml -o json <default.yaml >default.json
hjson-cli <default.json >default.hjson
https://hjson.github.io/