Skip to content

ISO builder for ubuntu running on proxmox to be provisioned by terraform

Notifications You must be signed in to change notification settings

Urs-Bruelhart/terraform-ubuntu-proxmox-iso

 
 

Repository files navigation

Ubuntu for Terraform and Proxmox

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

Based on: https://github.com/yep/vagrant-ubuntu

Build dependencies

  • curl(1).
  • m4(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 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/vda) 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_vda.sh

Building

Edit configuration in

config.sh

Building ISO images:

./build-iso

About

ISO builder for ubuntu running on proxmox to be provisioned by terraform

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • M4 52.2%
  • Shell 47.8%