Giter VIP home page Giter VIP logo

custom-ovf's Introduction

环境

  1. Ubuntu22.04.3LTS
  2. VMware

依赖

  1. open-vm-tools # 用于获取变量
vmtoolsd --cmd "info-get guestinfo.ovfEnv"

工具

  1. ovftool
ovf /path/to/file.ovf /path/to/file.ova  # ovf转换成ova
ovf --noSSLVerify vi:/exsi_ip # 提示路径
ovf --noSSLVerify vi:/exsi_ip/path/<vm_name> <output_directory>

整体流程

VMWare虚拟机配置vApp属性,开启vApp环境变量,使用VM Tools进行传输变量,使用rc.local获取VM Tools传输的变量,提取变量进行系统配置。

说明

目前只支持主机名和IP预定义,其他例如用户名已进行了标准化配置(密钥登录),CPU和内存默认1C2G,这个在虚拟机管理页面中自行修改。听说是可以预定义,就这样吧。

custom-ovf's People

Contributors

kimoziiiii avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.