Socket
Book a DemoInstallSign in
Socket

github.com/rgolangh/ovirt-image-upload

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/rgolangh/ovirt-image-upload

Source
Go
Version
v0.0.0-20200128140309-19e2fca0e56e
Version published
Created
Source

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 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

FAQs

Package last updated on 28 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts