Mudanças entre as edições de "Multipass"
(Criou página com 'instalando <source lang="bash"> sudo snap install multipass </source> trocando o drive de virtualização <source lang="bash"> sudo multipass set local.driver=lxd </source>...') |
|||
Linha 12: | Linha 12: | ||
<source lang="bash"> | <source lang="bash"> | ||
multipass launch -n devel | multipass launch -n devel | ||
+ | </source> | ||
listando as instancias criadas | listando as instancias criadas |
Edição das 18h42min de 26 de dezembro de 2021
instalando
sudo snap install multipass
trocando o drive de virtualização
sudo multipass set local.driver=lxd
criando uma instancia com o nome devel
multipass launch -n devel
listando as instancias criadas
multipass list
mostrando informações da instancia devel
multipass exec devel -- lsb_release -a
entrando na vm
multipass shell devel
listando template de instalações/vm
multipass find
apagando
multipass stop devel
multipass delete devel
multipass purge
lista os tipos de redes
multipass networks
pegue o nome da rede bridge e rode o comando
multipass launch --network "br-04c521ab65d6"
troque br-04c521ab65d6 pelo o que aparecer na sua rede
multipass exec timtec -- ip -br address show scope global multipass launch --network name=ethernet,mode=auto
sudo multipass set local.driver=libvirt sudo multipass set local.driver=virtualbox
multipass launch -c 2 -m 4G -d 15G --network name=en0 -n test2-instance
montando pasta local na vm multipass mount ~/Downloads ubuntu-focal
multipass umount ubuntu-focal
multipass launch -c 2 -m 2G -d 20G -n devel multipass info devel multipass suspend devel
multipass stop devel multipass start devel
qemu, libvirt, and lxd on Linux.
https://multipass.run/docs/additional-networks
https://multipass.run/docs/set-command
multipass launch --bridged
multipass launch --network <physical device>
multipass launch --network mpbr0
- https://qiita.com/ynott/items/01e2913539c664b6559d
- https://www.linuxhowto.net/how-to-configure-network-bridge-in-ubuntu/
- https://www.typea.info/blog/index.php/2021/03/10/create_ubuntu_multipass_kvm_bridge_network/
- https://www.ichim.co.uk/articles/Using-Multipass-on-Windows/
- https://multipass.run/docs/working-with-instances