Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to start a lima VM non-interactively? #1420

Answered by AkihiroSuda
ChillarAnand asked this question in Q&A
Discussion options

When starting a VM, lima prompts users with the following options.

Screenshot 2023年03月15日 at 09 46 05

How to disable this prompt and use the default config? I am writing scripts to automate provisioning VMs with lima.

You must be logged in to vote

limactl start --tty=false

Replies: 1 comment 1 reply

Comment options

limactl start --tty=false

You must be logged in to vote
1 reply
Comment options

This also works with limactl create. E.g.

limactl create --name default2 --tty=false --cpus=8 --memory=16 --vm-type vz --mount-type=virtiofs --network=vzNAT --mount . --mount-writable template://docker-rootful
Answer selected by AkihiroSuda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /