Last active
January 17, 2023 14:55
-
-
Save easel/69812ce1dc41f5eb9257d3b794c73e62 to your computer and use it in GitHub Desktop.
MultiPass Multi-Network Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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