lima-vm / lima-vm/lima

`--set '.base = ...'` fails with "field `base` must be empty for YAML validation"

Open
#4,556 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

Using `--set '.base = ...'` fails with `limactl create`, `limactl start`, and `limactl clone`.

```bash
# Create a simple test template
cat > /tmp/test.yaml << 'EOF'
images:
- location: https://example.com/test.qcow2
arch: x86_64
EOF

# Test 1: limactl create - FAILS
limactl create --tty=false --name=test --set '.base = ["template://alpine"]' /tmp/test.yaml

# Create instance to start/clone
limactl create --tty=false --name=existing-instance template:default

# Test 2: limactl start on existing instance - FAILS
limactl start --tty=false --set '.base = ["template://alpine"]' existing-instance

# Test 3: limactl clone - FAILS
limactl clone --tty=false --set '.base = ["template://alpine"]' existing-instance cloned-instance
```

All three commands fail with variations of:

```
FATA[0000] field `base` must be empty for YAML validation
```

This might be similar to #3741.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.