Skip to main content

Use clis:

sudo apt-get install python3-pip
sudo pip3 install clis
sudo iptables -t nat -I PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8088
clis

Now you can boot images downloaded from here (filename matches *-disk1.img).

Known to work with vivid and trusty.

Server will feed your ssh key (~/.ssh/id_rsa.pub) to image and you can log in via ssh. Default username for ubuntu images is ubuntu.

It is poosible to specify alternate ssh public key(s) by command line:

clis -k ~/.ssh/alternate.pub -k ~/.ssh/backup.pub

When clis is running you may boot cloud image and see ip address of VM in logs. Just ssh to this address:

ssh ubuntu@192.168.122.42

You may want to uninstall cloud-init from VM and turn it to non-cloud image:

ubuntu@vm-192-168.122.42:~$ sudo apt-get remove cloud-init

What is cloud-init

Cloud image is usual image with cloud-init package installed. Cloud-init is software which trying to access magic url http://169.254.169.254/ and get VM configuration from there. Different versions of cloud-init “protocol” supported by different versions of images. All this versions are poorly documented or not documented at all.

Metadata

Release files for clis 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clis 0.0.1
File Size Uploaded Provenance
clis-0.0.1.tar.gz 4.2 kB Without provenance Details

Release files / clis-0.0.1.tar.gz

Download URL clis-0.0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5f6327aaa6706f78af946268ed1ceffad4487263bd1ea16f4d0556b91b422319
BLAKE2b-256 checksum
How to use checksums
39722d70148ece0de633d4bf216595edef239356b694837293c594029c9c9cc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for clis 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page