当前位置:网站首页>安装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/边栏推荐
- asp. Net project using aspnet_ compiler. Exe Publishing
- Principle and Simulation of bind
- Interview shock 61: tell me about MySQL transaction isolation level?
- Qt中的UI文件介绍
- C#通过中序遍历对二叉树进行线索化
- Install the typescript environment and enable vscode to automatically monitor the compiled TS file as a JS file
- qt json
- Pygame 精准检测图像碰撞
- Hystrix circuit breaker
- Earth observation satellite data
猜你喜欢

Simple introduction to matlab

MATLAB求极限

CVPR2022 | 重新审视池化:你的感受野不是最理想的

OPC of Beifu twincat3_ UA communication test case

MIT linear algebra Chinese Notes

Aes-128-cbc-pkcs7padding encrypted PHP instance

Adjacency matrix and adjacency table structure of C # realization graph

Matlab to find the limit

YOLO系列梳理(九)初尝新鲜出炉的YOLOv6

Earth observation satellite data
随机推荐
C#实现顺序表定义、插入、删除、查找操作
Golang image/png processing image rotation writing
Qt的信号与槽
倍福TwinCAT配置、调试第三方伺服详细讲解--以汇川IS620N为例子
C binary tree structure definition and node value addition
Difficult conversation breaks through the bottleneck of conversation and achieves perfect communication
Problem solving: modulenotfounderror: no module named 'pip‘
MATLAB求极限
深入理解 volatile 关键字
MFC-对话框程序核心-IsDialogMessage函数-MSG 消息结构-GetMessage函数-DispatchMessage函数
2022.6.28-----leetcode. three hundred and twenty-four
Matlab简单入门
如何计算win/tai/loss in paired t-test
AGCO AI frontier promotion (6.29)
C#线索二叉树的定义
bind原理及模拟实现
面试突击61:说一下MySQL事务隔离级别?
【君正T31】只读rootfs文件系统squashfs的解压和打包
C # output the middle order traversal through the clue binary tree
【云原生】2.4 Kubernetes 核心实战(中)