Skip to content

Instantly share code, notes, and snippets.

@easel
Last active January 17, 2023 14:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save easel/69812ce1dc41f5eb9257d3b794c73e62 to your computer and use it in GitHub Desktop.
Save easel/69812ce1dc41f5eb9257d3b794c73e62 to your computer and use it in GitHub Desktop.
MultiPass Multi-Network Commands
# Create networks using Hyper-V virtual switches with "External" access
# Verify network visibility with networks command
multipass networks
# Create primary instance with two bridged networks and lots of resources
multipass launch --network name="Ethernet" --network name="WiFi" --name primary --cpus 8 --mem 40g --disk 100g
# Set the ubuntu password so remote ssh works
multipass exec primary sudo passwd ubuntu
# Get additional IP addresses
multipass exec primary ip addr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment