Difference between revisions of "Multipass launch"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  launch failed: failed to download from 'http://cloud- images.ubuntu.com/releases/server/releases/bionic/release-20200129.1/ubuntu-18.04-server-cloudimg-amd64.img': Network timeout
 
  launch failed: failed to download from 'http://cloud- images.ubuntu.com/releases/server/releases/bionic/release-20200129.1/ubuntu-18.04-server-cloudimg-amd64.img': Network timeout
  
multipass launch [[lts]]
+
* <code>multipass launch [[lts]]</code>
multipass launch [[lts]] --name TEST
+
* <code> multipass launch [[lts]] --name TEST</code>
multipass launch [[18.04]]
+
* <code> multipass launch [[18.04]]</code>
  
multipass launch --[[cpus]] 2 --mem 8G --disk 25G --name MY_NEW_VM
+
* <code> multipass launch --[[cpus]] 2 --mem 8G --disk 25G --name MY_NEW_VM</code>
multipass launch --[[cpus]] 2 --mem 8G --disk 25G --name MY_NEW_VM && [[multipass connect]] MY_NEW_VM
+
* <code> multipass launch --[[cpus]] 2 --mem 8G --disk 25G --name MY_NEW_VM && [[multipass connect]] MY_NEW_VM</code>
multipass launch --[[cpus]] 2 --mem 8G --name MY_NEW_VM
+
* <code> multipass launch --[[cpus]] 2 --mem 8G --name MY_NEW_VM</code>
multipass launch --[[cpus]] 2 --name MY_NEW_VM
+
* <code> multipass launch --[[cpus]] 2 --name MY_NEW_VM</code>
multipass launch --name MY_NEW_VM 20.04
+
* <code> multipass launch --name MY_NEW_VM 20.04</code>
  
multipass launch --name ubuntu-lts-custom --[[cloud-init]] cloud-config.yaml
+
* <code> multipass launch --name ubuntu-lts-custom --[[cloud-init]] cloud-config.yaml</code>
 
   
 
   
  

Revision as of 06:02, 18 February 2021

The multipass launch[1] command without any argument will create and start a new instance based on the default image, using a random generated name, you can configure it using --name option. As of August 2020 not renaming option is available[2].

multipass launch --name ubuntu-vm
launch failed: failed to download from 'http://cloud- images.ubuntu.com/releases/server/releases/bionic/release-20200129.1/ubuntu-18.04-server-cloudimg-amd64.img': Network timeout
  • multipass launch lts
  • multipass launch lts --name TEST
  • multipass launch 18.04
  • multipass launch --cpus 2 --mem 8G --disk 25G --name MY_NEW_VM
  • multipass launch --cpus 2 --mem 8G --disk 25G --name MY_NEW_VM && multipass connect MY_NEW_VM
  • multipass launch --cpus 2 --mem 8G --name MY_NEW_VM
  • multipass launch --cpus 2 --name MY_NEW_VM
  • multipass launch --name MY_NEW_VM 20.04
  • multipass launch --name ubuntu-lts-custom --cloud-init cloud-config.yaml


With errors

multipass launch lts
launch failed: The following errors occurred:
Instance stopped while starting

Related commands

See also

  • https://multipass.run/docs/launch-command
  • https://github.com/canonical/multipass/issues/255
  • Advertising: