Comments (7)
Thank you for your suggestion. CoreOS installations are very different to what installimage can currently do or what is was designed for. Adding support will hence require substantial changes to the code. There are no plans to add this, but if you like to give it a try, feel free to open a pull request
from installimage.
I will give it a try, am I allowed to use the coreos-installer (requires rustup and cargo install on the rescue system) or should I write the config manually.
To configure CoreOS, should I assemble the ignition config from the given options (DRIVE1, DRIVE2, SWRAID etc.) or add a CoreOS specific option to pass an url where the installer can download the config? Using an url to download the ignition config would allow much more customization.
from installimage.
@asciiprod How do I test my changes? Is there any test environment (VM image, packer config) or do I have to use a dedicated server with its rescue system? And on the rescue system, how do I replace the already present installimage
with my own, because I have only read permissions on the NFS mount, but the installimage
script requires being in a specific directory.
from installimage.
I will give it a try, am I allowed to use the coreos-installer (requires rustup and cargo install on the rescue system) or should I write the config manually.
To configure CoreOS, should I assemble the ignition config from the given options (DRIVE1, DRIVE2, SWRAID etc.) or add a CoreOS specific option to pass an url where the installer can download the config? Using an url to download the ignition config would allow much more customization.
Hi!
I've been developing a Dockerfile that creates an image you can use to generate and inject an ignition file on Fedora CoreOS.
You can then test it on qemu or another hypervisor that supports qcow2. If it works, you might be able to deploy it on Hetzner servers through the rescue system, but I give no guarantees, as I'm not (yet) a Hetzner customer.
You can find it on my GH repo @yaroze/oci-fcos.
from installimage.
Hi!
I've been developing a Dockerfile that creates an image you can use to generate and inject an ignition file on Fedora CoreOS.You can then test it on qemu or another hypervisor that supports qcow2. If it works, you might be able to deploy it on Hetzner servers through the rescue system, but I give no guarantees, as I'm not (yet) a Hetzner customer.
You can find it on my GH repo @yaroze/oci-fcos.
This doesn't help me, because I have to use the installimage
method as described in the issue. For installing coreos with an ignition file, there is already the official coreos-installer which does exactly that: write coreos and the ignition file onto a disk. It's available as a container image, too.
from installimage.
the official coreos-installer which does exactly that: write coreos and the ignition file onto a disk. It's available as a container image, too.
Not quite... it's a bit different from coreos-installer.
Coreos-installer takes an ISO and deploys FCOS on the same machine it is running.
My dockerfile takes a vanilla/official FCOS qcow2 image and embeds the ignition file into it, which can then be used on a VM running on qemu. That was my purpose, as I want to run FCOS on Oracle Cloud, which doesn't also support ignition files. However, they support qcow2 images, hence my specific use case.
If that feature was available in coreos-installer, I wouldn't take the effort of developing something that has already been developed ๐
In your case, you could convert the resulting qcow2 image to raw and use dd to dump it to your server (maybe I'll also find a way to convert it with the Docker as an optional parameter๐ค).
I don't know about Hetzner's rescue system, but you can do the dd over ssh if, for some reason, you can't upload the raw image to the filesystem of the rescue system.
from installimage.
I don't know about Hetzner's rescue system, but you can do the dd over ssh if, for some reason, you can't upload the raw image to the filesystem of the rescue system.
installimage
runs on the rescue system which is booted via PXE. It doesn't run from disk so you can write disks without breaking the running system. I don't need to write from somewhere else or somehow else. I just need to integrate the coreos-installer with installimage
.
And it's a tool for dedicated root servers, which don't use qcow2.
The hetzner cloud VMs also support the rescue system, so there is no need for uploading a custom disk image too.
And, as stated in the original comment, I require it to be installed with installimage
.
from installimage.
Related Issues (20)
- Syntax error in kernel_module_config.functions.sh
- Boot and root do not need to be outside LVM
- support for ClearLinux
- Add support btrfs multi-device HOT 2
- syntax error when trying to setup LUKS HOT 1
- btrfs with compression triggers CRYPTPASSWORD message (Debian 12)
- Various syntax errors when trying to install from a URL HOT 2
- Rocky Linux 9, AlmaLinux 9, and CentOS Stream 9 UEFI Support HOT 1
- netplan error: gateway6 has been deprecated with latest ubuntu 20.04 image HOT 2
- Setup guide for installimage HOT 6
- installimage version on Server (via NFS) is different HOT 3
- Problem with custom image and locale setup
- UEFI installation doesn't create RAID1 for ESP partition HOT 6
- ERROR: can not determine image arch from filename HOT 3
- Unable to setup machine via cli arguments (only via editing the config file) HOT 1
- Errors at 'Setting up network config': '/installimage.*/hdd/etc/netplan/01-netcfg.yaml: No such file or directory' HOT 2
- Installimage fails. Permissions for /etc/netplan/01-netcfg.yaml are too open (Ubuntu 22.04) HOT 2
- Check FAT format - Config `PART /boot/efi esp 256M` HOT 2
- almalinux 92 on EFI systems HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installimage.