An `edwh`plugin to work with multipass instances for local development.
Project description
edwh-multipass-plugin
Table of Contents
Installation
Install just this plugin:
pip install edwh-multipass-plugin
But probably you want to install the whole edwh package:
pipx install edwh[plugins,omgeving]
# or
pipx install edwh[multipass]
if you want to use the edwh command line tool with just the multipass plugin:
pipx install edwh
edwh plugin.add multipass
mp.fix-host
aka
mp.fix-dns
Fixes the ip adres in the hosts file for a multipass instance.
When issuing on the first run fix-host will add an entry to your hosts file, and you can enter different hostnames you want to register for the instance.
mp.fix-host dockers -h dockers.local -h delen.dockers.local -h web2py.dockers.local ...
After this initial registration, you can update the ip address of the instance by running mp.fix-host dockers again.
Be aware that you cannot register new hostnames after the initial registration. Update your
/etc/hosts file instead.
mp.install
Installs multipass on an ubuntu based machine if not already installed.
mp.prepare
Allows you to ssh into a multipass instance, so you are able to run fabric commands against it.
mp.prepare will generate a multipass_keyfile ~/.ssh/multipass.key (if not already present)
and add the public key to the multipass instance's authorized_keys file.
mp.prepares automatically runs mp.install.
License
edwh-multipass-plugin is distributed under the terms of the MIT license.
See the license for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edwh_multipass_plugin-1.3.1.tar.gz.
File metadata
- Download URL: edwh_multipass_plugin-1.3.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6037649b19f21bdb09856180db300b6eaedf577d402a00191d5463590167853c
|
|
| MD5 |
e44ac2cb142a3a68155f52d3c0929807
|
|
| BLAKE2b-256 |
57041372946d2a3fe8cba14a918622a9b60cd26dc038692f289becc093342cbe
|
File details
Details for the file edwh_multipass_plugin-1.3.1-py3-none-any.whl.
File metadata
- Download URL: edwh_multipass_plugin-1.3.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5cb3a8f09ef102daf374adc5d926d17a35e5d031b3e7fb7ebeb0d0ffb01baa2
|
|
| MD5 |
a0976cd8cdd53d3d26f2387cd4d881fc
|
|
| BLAKE2b-256 |
f3a12c679503644c24b4fd0b170d7f142c71ec52fc4a9c915321e045c3190f0f
|