-
Notifications
You must be signed in to change notification settings - Fork 711
How to start a lima VM non-interactively? #1420
Answered
by
AkihiroSuda
ChillarAnand
asked this question in
Q&A
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
Answered by
AkihiroSuda
Mar 15, 2023
limactl start --tty=false
Replies: 1 comment 1 reply
-
limactl start --tty=false
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
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
Beta Was this translation helpful? Give feedback.
All reactions
Answer selected by
AkihiroSuda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment