当前位置:网站首页>安装terraform-ovirt插件为ovirt提供自动化管理
安装terraform-ovirt插件为ovirt提供自动化管理
2022-06-29 12:22:00 【姚华】
简介: 安装terraform-ovirt插件为ovirt提供自动化管理
ubuntu 18.04|20.04 安装 terrafom ovirt 插件
安装golang
先安装go 1.16.15版本,国内下载地址可以通过Go下载 - Go语言中文网 - Golang中文社区 (studygolang.com)访问下载
apt install -y wget
wget https://studygolang.com/dl/golang/go1.16.15.linux-amd64.tar.gz解压至/usr/local
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.15.linux-amd64.tar.gz添加环境变量
export PATH=$PATH:/usr/local/go/bin查看版本信息
没问题后我们开始安装terraform
安装terraform
- 安装wget curl unzip
sudo apt install wget curl unzip- 查看最新版本并下载
TER_VER=`curl -s https://api.github.com/repos/hashicorp/terraform/releases/latest | grep tag_name | cut -d: -f2 | tr -d \"\,\v | awk '{$1=$1};1'`
wget https://releases.hashicorp.com/terraform/${TER_VER}/terraform_${TER_VER}_linux_amd64.zip- 解压并放到/usr/local/bin
$ unzip terraform_${TER_VER}_linux_amd64.zip
Archive: terraform_xxx_linux_amd64.zip
inflating: terraform
$ sudo mv terraform /usr/local/bin/- 查看版本
[email protected]:~
Terraform v1.1.7
on linux_amd64编译安装terraform-ovirt插件
- 拉取仓库
mkdir -p $HOME/terraform-providers/
cd $HOME/terraform-providers/
git clone https://github.com/oVirt/terraform-provider-ovirt.git- 配置国内源
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
go env | grep GOPROXY- 开始编译
cd terraform-providers/
make build
cp terraform-provider-ovirt \$GOPATH/bin/边栏推荐
- AGCO AI frontier promotion (6.29)
- C # realizes the first order traversal, middle order traversal and second order traversal of binary tree
- If I am in Shenzhen, where can I open an account? In addition, is it safe to open an account online now?
- Uber前安全主管面临欺诈指控 曾隐瞒数据泄露事件
- LR、CR纽扣电池对照表
- 代码整洁之道学习笔记
- Viewing splitchunks code segmentation from MPX resource construction optimization
- C # indexe l'arbre binaire en traversant l'ordre moyen
- MATLAB求极限
- Murphy safety was selected for signing 24 key projects of Zhongguancun Science City
猜你喜欢

C#实现图的邻接矩阵和邻接表结构

在印度与软件相关的发明可不可以申请专利?

MIT linear algebra Chinese Notes

leetcode 第 299场周赛

安装typescript环境并开启VSCode自动监视编译ts文件为js文件

Recurrence of recommended models (IV): multi task models esmm and MMOE

Recurrence of recommended models (III): recall models youtubednn and DSSM

Simple introduction to matlab

OPC of Beifu twincat3_ UA communication test case

Interview shock 61: tell me about MySQL transaction isolation level?
随机推荐
MIT linear algebra Chinese Notes
23、 1-bit data storage (delay line / core /dram/sram/ tape / disk / optical disc /flash SSD)
Record the process of a solid-state update and system migration debug
面试突击61:说一下MySQL事务隔离级别?
Recommended model reproduction (II): fine arrangement model deepfm, DIN
Hystrix circuit breaker
Bison uses error loop records
SCHIEDERWERK电源维修SMPS12/50 PFC3800解析
LR、CR纽扣电池对照表
LeetCode_ Double pointer_ Medium_ 328. parity linked list
Precautions for Beifu controller connecting Panasonic EtherCAT servo
netdata邮件告警配置
Can software related inventions be patented in India?
clickhouse数据库使用jdbc存储毫秒和纳秒
【君正T31】只读rootfs文件系统squashfs的解压和打包
Yunlong fire version aircraft battle (full version)
QT signal and slot
Deep understanding of volatile keyword
[comprehensive case] credit card virtual transaction identification
SCHIEDERWERK電源維修SMPS12/50 PFC3800解析