Hi,
we are a small compagny ( Geco-iT ) from France that strongly relies on Proxmox PVE every day and as we find proxmox more and more powerfull, we want to give back to the community by providing some of our tools for PVE.
We made a tool to use Fedora CoreOS as VM with proxmox cloud-init system !
Fedora CoreOS
For our Docker Swarm / Kubernetes container orchestration projects, we migrated from CoreOS distribution to Fedora CoreOS distribution.
Fedora CoreOS is an Operating system that is auto-updated, minimal and containers oriented. It is derived from Fedora Community distribution and especially designed for containerized environnement. The main goal is to support containerized workloads in a secure way.
The Fedora CoreOS distribution succeed to two projects, Fedora Atomic Host and CoreOS Container Linux. The idea is to merge, within a minimal operating system, OCI support and Atomic Host packaging with provisionning tools and automated roll-out of CoreOS.
Fedora CoreOS is the base of Red Hat Enterprise Linux CoreOS (RHCOS).
Fedora CoreOS features list contains :
* Automated update with stagged roll-out
* Base System : Last Fedora
* Last stable Linux Kernel
* Provisionning tools : Ignition
* OCI Support for Docker containers by Podman and Moby
* Hardenning by SeLinux
* Out of the box Cgroups support
Intégration of VM Fedora CoreOS within Proxmox VE
Proxmox VE use Cloud-Init as a provisionning tool for Virtual Machines (VM) Cloud-Init but Fedora CoreOS is only compatible with “Ignition”. So we made a « wrapper » that convert the Cloud-Init config of proxmox to an Ignition compatible config…
Our Cloud-Init ⇔ Ignition wrapper takes care of the following parameters :
* Username ; by default = admin
* Password
* DNS Domain
* DNS server(s)
* SSH Key(s)
* IP configuration(s) but only IPv4
Our tool will automatically :
1) Download the Fedora CoreOS Image
2) Create a virtual Machine
3) Import the Fedora CoreOS as a VM Disk
4) Add a cloud init config drive to that VM
5) Add the « hook-script » hook-fcos.sh at VM startup
6) Copy the Ignition template in a « Proxmox snippet » storage
7) Convert the VM to a Template that you can use after
Full explanation is here on our wiki : https://wiki.geco-it.net/public:pve_fcos
Source code can be seen here: https://git.geco-it.net/GECO-IT-PUBLIC/fedora-coreos-proxmox
Hope it will help someone !
Thanks to all the Proxmox Staff !
Have a nice day !
we are a small compagny ( Geco-iT ) from France that strongly relies on Proxmox PVE every day and as we find proxmox more and more powerfull, we want to give back to the community by providing some of our tools for PVE.
We made a tool to use Fedora CoreOS as VM with proxmox cloud-init system !
Fedora CoreOS
For our Docker Swarm / Kubernetes container orchestration projects, we migrated from CoreOS distribution to Fedora CoreOS distribution.
Fedora CoreOS is an Operating system that is auto-updated, minimal and containers oriented. It is derived from Fedora Community distribution and especially designed for containerized environnement. The main goal is to support containerized workloads in a secure way.
The Fedora CoreOS distribution succeed to two projects, Fedora Atomic Host and CoreOS Container Linux. The idea is to merge, within a minimal operating system, OCI support and Atomic Host packaging with provisionning tools and automated roll-out of CoreOS.
Fedora CoreOS is the base of Red Hat Enterprise Linux CoreOS (RHCOS).
Fedora CoreOS features list contains :
* Automated update with stagged roll-out
* Base System : Last Fedora
* Last stable Linux Kernel
* Provisionning tools : Ignition
* OCI Support for Docker containers by Podman and Moby
* Hardenning by SeLinux
* Out of the box Cgroups support
Intégration of VM Fedora CoreOS within Proxmox VE
Proxmox VE use Cloud-Init as a provisionning tool for Virtual Machines (VM) Cloud-Init but Fedora CoreOS is only compatible with “Ignition”. So we made a « wrapper » that convert the Cloud-Init config of proxmox to an Ignition compatible config…
Our Cloud-Init ⇔ Ignition wrapper takes care of the following parameters :
* Username ; by default = admin
* Password
* DNS Domain
* DNS server(s)
* SSH Key(s)
* IP configuration(s) but only IPv4
Our tool will automatically :
1) Download the Fedora CoreOS Image
2) Create a virtual Machine
3) Import the Fedora CoreOS as a VM Disk
4) Add a cloud init config drive to that VM
5) Add the « hook-script » hook-fcos.sh at VM startup
6) Copy the Ignition template in a « Proxmox snippet » storage
7) Convert the VM to a Template that you can use after
Full explanation is here on our wiki : https://wiki.geco-it.net/public:pve_fcos
Source code can be seen here: https://git.geco-it.net/GECO-IT-PUBLIC/fedora-coreos-proxmox
Hope it will help someone !
Thanks to all the Proxmox Staff !
Have a nice day !
Last edited: