Giter VIP home page Giter VIP logo

terraform-proxmox-iso's Introduction

ISO Builds for Terraform and Proxmox

Build a custom base box for Terraform+Proxmox by downloading, extracting, tweaking, and packaging the stock ISO files.

Based on: https://github.com/Telmate/terraform-ubuntu-proxmox-iso

Supported:

  • CentOS 7
  • Ubuntu

Build dependencies

  • curl(1).
  • sed(1).
  • mkisofs(1) from the cdrtools package available from MacPorts or Homebrew.

Runtime dependencies

The results are bootable ISO images and so should run on any i386 or amd64 or x86_64 hardware. They are only tested in Proxmox.

Features in the ISO

  • Configurable default user with SSH key and sudoer NOPASSWD access
  • The system clock is set to UTC
  • Auto partition virtual disk (/dev/sda) with LVM
  • OpenSSH server is installed
  • Bring up only eth1 for flexible user-net SSH port forwarding
  • Includes script to auto-resize partitions to the current size of vitual disk /etc/auto_resize_sda.sh

SECURITY WARNING!

Note that the root password given in the config.sh file is in cleartext, and as such ends up in the ks.cfg or unattended.seed files inside the ISO!! You will have to change the templates for those files to change that.

This has been done this way, because OSX has no known way of encrypting sha512 passwords from the command line.

How to use

From the Ubuntu or CentOS directory, edit configuration in

config.sh

Now building the image:

./build-iso config.sh

The result can be found in the ../build directory. Downloaded ISO Images are cached in ../cache.

terraform-proxmox-iso's People

Watchers

James Cloos 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.