{"id":1936,"date":"2020-06-29T19:29:52","date_gmt":"2020-06-29T19:29:52","guid":{"rendered":"https:\/\/andy.teknostatik.co.uk\/kb\/?p=1936"},"modified":"2020-06-29T19:29:52","modified_gmt":"2020-06-29T19:29:52","slug":"multipass-deployment","status":"publish","type":"post","link":"https:\/\/andy.teknostatik.co.uk\/kb\/2020\/06\/29\/multipass-deployment\/","title":{"rendered":"Multipass deployment"},"content":{"rendered":"\n<p>I&#8217;ve started looking at scripting Multipass deployments. Adding this to my installation script gets me one container, and this can be adapted for more. <\/p>\n\n\n\n<p><code>multipass launch focal --name ubuntu-lts<br>multipass exec ubuntu-lts -- wget https:\/\/www.dropbox.com\/s\/p5jjsbvuuskeotl\/deploy_ubuntu_wsl.sh<br>multipass exec ubuntu-lts -- sudo mv deploy_ubuntu_wsl.sh \/usr\/local\/bin\/<br>multipass exec ubuntu-lts -- sudo chmod 755 \/usr\/local\/bin\/deploy_ubuntu_wsl.sh<br>multipass exec ubuntu-lts -- deploy_ubuntu_wsl.sh<br>multipass stop ubuntu-lts<\/code><\/p>\n\n\n\n<p>I need to write this up s a proper blog post.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve started looking at scripting Multipass deployments. Adding this to my installation script gets me one container, and this can be adapted for more. multipass launch focal &#8211;name ubuntu-ltsmultipass exec ubuntu-lts &#8212; wget https:\/\/www.dropbox.com\/s\/p5jjsbvuuskeotl\/deploy_ubuntu_wsl.shmultipass exec ubuntu-lts &#8212; sudo mv deploy_ubuntu_wsl.sh \/usr\/local\/bin\/multipass exec ubuntu-lts &#8212; sudo chmod 755 \/usr\/local\/bin\/deploy_ubuntu_wsl.shmultipass exec ubuntu-lts &#8212; deploy_ubuntu_wsl.shmultipass stop ubuntu-lts I &#8230; <a title=\"Multipass deployment\" class=\"read-more\" href=\"https:\/\/andy.teknostatik.co.uk\/kb\/2020\/06\/29\/multipass-deployment\/\" aria-label=\"Read more about Multipass deployment\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","_share_on_mastodon":"0"},"categories":[5,8],"tags":[],"class_list":["post-1936","post","type-post","status-publish","format-standard","hentry","category-linux","category-ubuntu"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/comments?post=1936"}],"version-history":[{"count":1,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1936\/revisions"}],"predecessor-version":[{"id":1937,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/posts\/1936\/revisions\/1937"}],"wp:attachment":[{"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/media?parent=1936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/categories?post=1936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andy.teknostatik.co.uk\/kb\/wp-json\/wp\/v2\/tags?post=1936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}