I’m trying to set up a MicroOS server using Ignition and Combustion.
The environment is configured in Hyper-V, where the virtual machine boots directly from the VHDX image downloaded from the web. An attached ISO contains the Ignition and Combustion configuration.
My goal is to format and mount a secondary disk attached to the VM using Ignition.
However, provisioning fails because /sysroot/var/mnt appears to be read-only.
What’s puzzling is that I can create files and directories in /var using the same Ignition setup.
My question is: If mounting under /var/mnt is not possible during Ignition, where should I mount my drive/partition instead? Or what is the correct syntax?
Thank you for your response and for the links that provided some useful context and an overview.
That said, I feel I could use more practical advice.
After provisioning with ignition-combustion, without mounting the second disk, I’m able to manually create the directory under /var/mnt and mount there the second disk. But in ignition this seems impossible.
Using a subvolume is needed or recommmended?
On a related note, I’m considering moving the entire /var directory to the second virtual disk, as the first one doesn’t have much space.
After provisioning with ignition-combustion, without mounting the second disk, I’m able to manually create the directory under /var/mnt and mount there the second disk. But in ignition this seems impossible.
Using a subvolume is needed or recommmended?
I also struggle at exactly this point. But at least I found a way to mount one additional HDD to the pre-defined directory /opt: