Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgolangh/ovirt-image-upload
https://github.com/rgolangh/ovirt-image-upload
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rgolangh/ovirt-image-upload
- Owner: rgolangh
- License: apache-2.0
- Created: 2020-01-28T10:36:10.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T14:03:23.000Z (almost 5 years ago)
- Last Synced: 2024-11-07T10:53:15.200Z (2 months ago)
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ovirt-image-upload
This is an experminal CLI tool to upload images from a URL into a storage domain.
### Usage
Create a credentials file under `~/.ovirt/ovirt-config.yaml`:```
ovirt_url: https://enginefqdn/ovirt-engine/api
ovirt_username: admin@internal
ovirt_password: password
ovirt_ca:
ovirt_insecure: true
```Invoke the cli to upload [cirros](http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img) image, for example:
```
bin/ovirt-image-upload \
-s http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img \
-d 091c4f1e-5859-43d9-81b1-672b260f6912
```The result is a disk under that storage domain.
### Build
```
make build
```