Install from Source
Last updated
Was this helpful?
Last updated
Was this helpful?
To install Ops, you will first need to install prerequisites.
To get the source code, clone it from the official github repo, which can be found
Once you've clone the repo, cd
into the ops
directory.
Use the make
command to install the various dependencies of Ops.
To compile the source code into an executable, use the make
command.
First you need to generate some go code from Protocol Buffers included in ops source repository. If you don't have the needed tools, you can install them by issuing the following commands:
Once ready you can generate the necessary code by using:
Finally you can build the ops
binary by using:
By default, when running make build
, all providers are included and available.
However you can select a subset of provider(s) to be included if required (except onprem
that is always built).
the following command builds only onprem
and all other providers are disabled.
the following command builds only aws
and all other providers are disabled (except onprem
that is always built).
To select the providers to build you need to always use onlyprovider
tag accompanied with desired provider tags:
available tags:
onlyprovider
aws
azure
digitalocean (or do)
gcp
hyperv
ibm
linode
oci
openshift
openstack
proxmox
upcloud
vbox
vsphere
vultr