Created
March 18, 2022 13:35
-
-
Save fffx/670bf74ca863c31bed072c19534a498c to your computer and use it in GitHub Desktop.
Revisions
-
fffx created this gist
Mar 18, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ ssh_authorized_keys: - < your public key here> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Lanuch vm with authorized_keys multipass launch --cloud-init ~/.cloud-init.yml --disk 10G # stop all multipass list | awk 'NR > 1 { print $1}' | xargs -I {} multipass stop {}