Git Product home page Git Product logo

proxmox-flatcar's Introduction

proxmox-flatcar

A proxmox tool to create Flatcar VM template on Proxmox 6.x.

Requirements

Tested on Proxmox VE 6.2-4

Usage

  1. Clone this repository on your Proxmox server
  2. Configure template parameter by modifying template_deploy.conf file as following:
# template vm vars
TEMPLATE_NAME="TMPL-flatcar" #Template VM name append with <flactar_version> in Proxmox GUI
TEMPLATE_RECREATE="false" #Fore recreate template ?
#Note: If you want only update hook script and Template_Ignition file, you can keep it as false, these files are always overwritten
TEMPLATE_POOL="domain.lan"# domain name written in cloudinit config
TEMPLATE_VMSTORAGE="local" #target storage for Template VM
SNIPPET_STORAGE="local" #target storage for Snippets files
VMDISK_OPTIONS=",discard=on"

TEMPLATE_IGNITION="fcar-base-tmplt.yaml" #Name of template ignition file

# flatcar image version
VERSION=latest # default: latest, possible values: <version_num>, latest, current
PLATFORM=qemu
BASEURL=https://stable.release.flatcar-linux.net
  1. Got to proxmox-flatcar directory
  2. run ./template_deploy.sh
  3. Clone the template on same host.
  4. BEFORE first boot: update CloudInit config in Proxmox GUI (no update after first boot)
  5. Wait for multiple reboot the enjoy

Note: Docker TCP socket is exposed by default

Known issues

  • Cloned VM from template don't update it's ignition file when modifying CloudInit config in Proxmox VE GUI
  • If not shared storage is used to deploy template VM you can only deploy VM on same host as template VM (can't migrate)
  • Only IPv4 is supported

Credits

Forked from awesome Geco-It fedora-coreos-proxmox (Rev baff530f20)

Source GPL V3:

proxmox-flatcar's People

Contributors

doc-tiebeau 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.